@vibecontrols/plugin-sdk 2026.528.1 → 2026.530.2

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/LICENSE CHANGED
@@ -1,22 +1,25 @@
1
- Proprietary License
1
+ MIT License
2
2
 
3
- Copyright (c) 2025-2026 Burdenoff Consultancy Services Pvt. Ltd. All rights reserved.
3
+ Copyright (c) 2026 Burdenoff Consultancy Services Private Limited,
4
+ Algoshred Technologies Private Limited,
5
+ and all its sister companies.
4
6
 
5
- This software and associated documentation files (the "Software") are the proprietary
6
- property of Burdenoff Consultancy Services Pvt. Ltd. and its affiliates.
7
+ Maintainer: Vignesh T.V <https://github.com/tvvignesh>
7
8
 
8
- UNAUTHORIZED COPYING, MODIFICATION, DISTRIBUTION, OR USE OF THIS SOFTWARE, VIA ANY
9
- MEDIUM, IS STRICTLY PROHIBITED.
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the Software is furnished
14
+ to do so, subject to the following conditions:
10
15
 
11
- The Software is provided under a proprietary license. You may use the Software only in
12
- accordance with the terms of your license agreement with Burdenoff Consultancy Services
13
- Pvt. Ltd.
16
+ The above copyright notice and this permission notice shall be included in all
17
+ copies or substantial portions of the Software.
14
18
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
16
- INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
17
- PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
19
- OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20
- OTHER DEALINGS IN THE SOFTWARE.
21
-
22
- For licensing inquiries, contact: contact@vibecontrols.com
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ SOFTWARE.
package/README.md CHANGED
@@ -188,7 +188,7 @@ Downstream plugins can extend the shared configs in `boilerplate/`:
188
188
  - `tsconfig.base.json` — strict TS + ESM
189
189
  - `eslint.config.base.js` — no-any, no-eslint-disable, max-warnings 0
190
190
  - `lefthook.base.yml` — pre-push sanity gate
191
- - `bunfig.toml` — Verdaccio scope wiring
191
+ - `bunfig.toml` — npm scope wiring
192
192
  - `.github/workflows/release.template.yml` — CalVer publish pipeline
193
193
  - `package.template.json` — minimal starter package.json
194
194
 
@@ -199,8 +199,29 @@ See `templates/plugin-scaffold.md` for the recommended layout.
199
199
  1. `bun install`
200
200
  2. `bun run sanity` must be green (0 errors, 0 warnings)
201
201
  3. Trunk-based: `main` only. CalVer release via `gh workflow run release.yml -f version=YYYY.MDD.PATCH`.
202
- 4. Spec: `~/products/vibecontrols/vibecontrols-specs/architecture/PLUGIN_SDK_EXTRACTION.md`
202
+ 4. Integration docs: [`docs/integration/`](./docs/integration/) — start with [`INDEX.md`](./docs/integration/INDEX.md).
203
+
204
+ <!-- VIBECONTROLS_OSS_FOOTER_START -->
205
+
206
+ ---
207
+
208
+ ## About VibeControls
209
+
210
+ **VibeControls** is the agentic engineering mission control for AI-native teams. Vibe-plugins extend the VibeControls agent with new providers, tools, sessions, tunnels, storage backends, and security stages.
211
+
212
+ - Website: <https://vibecontrols.com>
213
+ - Documentation: <https://docs.vibecontrols.com>
214
+ - Plugin SDK: <https://github.com/algoshred/vibecontrols-plugin-sdk>
215
+ - All plugins: <https://github.com/algoshred?q=vibe-plugin-&type=all>
203
216
 
204
217
  ## License
205
218
 
206
- Proprietary — Burdenoff Consultancy Services Pvt. Ltd. See `LICENSE`.
219
+ Released under the [MIT License](./LICENSE).
220
+
221
+ Copyright (c) 2026 Burdenoff Consultancy Services Private Limited, Algoshred Technologies Private Limited, and all its sister companies.
222
+
223
+ Maintainer: **Vignesh T.V** — <https://github.com/tvvignesh>
224
+
225
+ **Note**: this plugin is open source under MIT. The `@vibecontrols/agent` runtime that loads and orchestrates plugins is **closed source** and proprietary to Burdenoff Consultancy Services Pvt. Ltd. If you want a fully self-hostable agent, please open an issue or contact the maintainer.
226
+
227
+ <!-- VIBECONTROLS_OSS_FOOTER_END -->
@@ -1,4 +1,4 @@
1
- # Release — publish a vibe-plugin-* package to npmjs (public) + Verdaccio.
1
+ # Release — publish a vibe-plugin-* package to npmjs (public).
2
2
  #
3
3
  # Trigger: workflow_dispatch (manual version) or CalVer git-tag push.
4
4
  # Replace `@vibecontrols/vibe-plugin-EXAMPLE` with the real package name.
@@ -22,8 +22,8 @@ concurrency:
22
22
 
23
23
  jobs:
24
24
  release:
25
- name: Release to npmjs + Verdaccio
26
- runs-on: org-runners
25
+ name: Release to npmjs
26
+ runs-on: ubuntu-latest
27
27
  timeout-minutes: 15
28
28
  permissions:
29
29
  contents: write
@@ -34,24 +34,12 @@ jobs:
34
34
  - uses: oven-sh/setup-bun@v2
35
35
  with:
36
36
  bun-version-file: .bun-version
37
- - name: Configure Verdaccio scoped registry
38
- run: |
39
- AUTH=$(echo -n "ci-publisher:${{ secrets.VERDACCIO_CI_PASSWORD }}" | base64)
40
- cat > bunfig.toml << EOF
41
- [install]
42
- exact = true
43
- [install.scopes]
44
- vibecontrols = { token = "${AUTH}", url = "https://verdaccio.tooling.internal.burdenoff.com/" }
45
- burdenoff = { token = "${AUTH}", url = "https://verdaccio.tooling.internal.burdenoff.com/" }
46
- EOF
47
37
  - run: bun install --frozen-lockfile
48
38
  - run: bun run sanity
49
39
  - run: bun run build
50
40
  - name: Publish to npmjs
41
+ env:
42
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
51
43
  run: |
52
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMJS_VIBECONTROLS_TOKEN }}" > ~/.npmrc
44
+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
53
45
  bunx npm publish --access public
54
- - name: Publish to Verdaccio
55
- run: |
56
- echo "//verdaccio.tooling.internal.burdenoff.com/:_authToken=$(echo -n 'ci-publisher:${{ secrets.VERDACCIO_CI_PASSWORD }}' | base64)" > ~/.npmrc
57
- bunx npm publish --registry https://verdaccio.tooling.internal.burdenoff.com/
@@ -7,9 +7,9 @@ Extends-able starters for `@vibecontrols/vibe-plugin-*` packages. Copy or extend
7
7
  | `tsconfig.base.json` | Strict TS + ESM, ES2022, declaration emit. `extends` from your tsconfig. |
8
8
  | `eslint.config.base.js` | No `any`, no `@ts-ignore`, no `eslint-disable`. Spread into your config. |
9
9
  | `lefthook.base.yml` | Pre-push sanity gate. |
10
- | `bunfig.toml` | Verdaccio scope wiring for `@burdenoff` + `@vibecontrols`. |
10
+ | `bunfig.toml` | npm scope wiring for `@burdenoff` + `@vibecontrols`. |
11
11
  | `package.template.json` | Minimal `package.json` starter. |
12
- | `.github/workflows/release.template.yml` | CalVer release pipeline (npmjs + Verdaccio). |
12
+ | `.github/workflows/release.template.yml` | CalVer release pipeline (npmjs). |
13
13
 
14
14
  ## Quick start
15
15
 
@@ -1,5 +1,5 @@
1
1
  # Shared bunfig.toml for vibe-plugin-* packages.
2
- # Resolves @burdenoff/* and @vibecontrols/* from Verdaccio while public
2
+ # Resolves @burdenoff/* and @vibecontrols/* from npm while public
3
3
  # releases also flow through npmjs. CI may overwrite per-environment.
4
4
 
5
5
  [install]
@@ -29,12 +29,34 @@ interface PluginCapabilities {
29
29
  declare const FULL_TRUST_CAPS: Required<PluginCapabilities>;
30
30
  type PluginTag = "backend" | "frontend" | "cli" | "provider" | "adapter" | "integration";
31
31
  type PrerequisiteKind = "binary" | "npm" | "pip" | "cargo" | "manual";
32
+ type SupportedOS = "linux" | "darwin" | "win32";
32
33
  interface Prerequisite {
33
34
  name: string;
34
35
  kind: PrerequisiteKind;
35
36
  requiresSudo: boolean;
36
37
  version?: string;
37
38
  install?: string;
39
+ /**
40
+ * Human-readable rationale shown in the first-run consent prompt. Lives on
41
+ * the plugin (the agent no longer keeps a hardcoded tool→reason table).
42
+ */
43
+ reason?: string;
44
+ }
45
+ /**
46
+ * A provider plugin a META plugin routes to. META plugins declare these so the
47
+ * agent never hardcodes provider package names: the agent installs the meta,
48
+ * reads its `providers`, then installs the platform-appropriate default(s).
49
+ */
50
+ interface MetaProviderRef {
51
+ /** Provider package name, e.g. "@vibecontrols/vibe-plugin-session-wezterm". */
52
+ packageName: string;
53
+ /** Short provider name (matches the provider plugin manifest `name`). */
54
+ pluginName?: string;
55
+ /**
56
+ * Platforms on which this provider is the auto-installed DEFAULT for the
57
+ * meta. Empty/undefined = opt-in only (never auto-installed at bootstrap).
58
+ */
59
+ defaultOn?: ReadonlyArray<SupportedOS>;
38
60
  }
39
61
  interface StorageProvider {
40
62
  get<T = unknown>(namespace: string, key: string): Promise<T | null>;
@@ -70,7 +92,7 @@ interface ServiceRegistry {
70
92
  * named provider instead of silently falling back to the type's
71
93
  * default — without this the session-manager's `/providers` route
72
94
  * returns the same default-provider object for every plugin name it
73
- * looks up. [BOFF-2620]
95
+ * looks up.
74
96
  */
75
97
  getProviderByName?<T>(type: string, pluginName: string): T | undefined;
76
98
  registerService?(pluginName: string, serviceName: string, service: unknown): void;
@@ -155,6 +177,15 @@ interface VibePlugin {
155
177
  tags?: PluginTag[];
156
178
  capabilities?: PluginCapabilities;
157
179
  prerequisites?: Prerequisite[];
180
+ /**
181
+ * META plugins (session, tunnel, ai, storage, gitops) declare the provider
182
+ * plugins they route to + per-platform defaults here. The thin agent reads
183
+ * this to decide what to install at bootstrap, so it never hardcodes
184
+ * provider package names or their prerequisites. Named `metaProviders` (not
185
+ * `providers`) to avoid colliding with the agent's runtime provider-
186
+ * registration descriptor of the same short name.
187
+ */
188
+ metaProviders?: ReadonlyArray<MetaProviderRef>;
158
189
  cliCommand?: string;
159
190
  apiPrefix?: string;
160
191
  createRoutes?: () => unknown;
@@ -170,4 +201,4 @@ interface VibePlugin {
170
201
  }
171
202
  type VibePluginFactory = (ctx: ProfileContext) => VibePlugin;
172
203
 
173
- export { FULL_TRUST_CAPS, type HostServices, type PluginCapabilities, type PluginTag, type Prerequisite, type PrerequisiteKind, type ProfileContext, type SdkLogger, type ServiceRegistry, type StorageProvider, type VibePlugin, type VibePluginFactory };
204
+ export { FULL_TRUST_CAPS, type HostServices, type MetaProviderRef, type PluginCapabilities, type PluginTag, type Prerequisite, type PrerequisiteKind, type ProfileContext, type SdkLogger, type ServiceRegistry, type StorageProvider, type SupportedOS, type VibePlugin, type VibePluginFactory };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { FULL_TRUST_CAPS, HostServices, PluginCapabilities, PluginTag, Prerequisite, PrerequisiteKind, ProfileContext, SdkLogger, ServiceRegistry, StorageProvider, VibePlugin, VibePluginFactory } from './contract/index.js';
1
+ export { FULL_TRUST_CAPS, HostServices, MetaProviderRef, PluginCapabilities, PluginTag, Prerequisite, PrerequisiteKind, ProfileContext, SdkLogger, ServiceRegistry, StorageProvider, SupportedOS, VibePlugin, VibePluginFactory } from './contract/index.js';
2
2
  export { LifecycleHooks, LifecycleSpec, createLifecycleHooks } from './lifecycle/index.js';
3
3
  export { CliCommandBuilder, MultimodeOptions, OutputFlags, OutputMode, StatusCommandSpec, maybePrintJson, pickOutputMode, redact, runMultimode } from './cli/index.js';
4
4
  export { ApiKeyResolver, RoutesBuilder } from './routes/index.js';
package/dist/index.js CHANGED
@@ -598,7 +598,7 @@ var ProviderRegistry = class {
598
598
  * `getProviderByName` — which is what consumers like session-manager
599
599
  * actually want when iterating registered providers.
600
600
  *
601
- * Previously the two-argument form bug-existed (BOFF-2620): it
601
+ * Previously the two-argument form bug-existed: it
602
602
  * verified the name was present in `listProvidersForType` but then
603
603
  * returned the type's *default* provider regardless, so every
604
604
  * per-name lookup yielded the same object. We now call
@@ -42,7 +42,7 @@ declare class ProviderRegistry {
42
42
  * `getProviderByName` — which is what consumers like session-manager
43
43
  * actually want when iterating registered providers.
44
44
  *
45
- * Previously the two-argument form bug-existed (BOFF-2620): it
45
+ * Previously the two-argument form bug-existed: it
46
46
  * verified the name was present in `listProvidersForType` but then
47
47
  * returned the type's *default* provider regardless, so every
48
48
  * per-name lookup yielded the same object. We now call
@@ -66,7 +66,7 @@ var ProviderRegistry = class {
66
66
  * `getProviderByName` — which is what consumers like session-manager
67
67
  * actually want when iterating registered providers.
68
68
  *
69
- * Previously the two-argument form bug-existed (BOFF-2620): it
69
+ * Previously the two-argument form bug-existed: it
70
70
  * verified the name was present in `listProvidersForType` but then
71
71
  * returned the type's *default* provider regardless, so every
72
72
  * per-name lookup yielded the same object. We now call
@@ -38,7 +38,7 @@ function createMockHostServices(overrides = {}) {
38
38
  getAgentRecordId: mock(async () => null),
39
39
  getWorkspaceId: mock(async () => null),
40
40
  getConfig: mock(async () => void 0),
41
- getPluginRegistry: mock(() => "https://verdaccio.tooling.internal.burdenoff.com/"),
41
+ getPluginRegistry: mock(() => "https://registry.npmjs.org/"),
42
42
  getDataDir: mock(() => "/tmp/sdk-test"),
43
43
  cliContributors: {
44
44
  addStatusSection: mock(() => void 0),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibecontrols/plugin-sdk",
3
- "version": "2026.528.1",
3
+ "version": "2026.530.2",
4
4
  "type": "module",
5
5
  "description": "VibeControls Plugin SDK — shared contract, lifecycle, CLI, telemetry, storage helpers for all vibe-plugin-* packages.",
6
6
  "engines": {
@@ -8,10 +8,9 @@
8
8
  },
9
9
  "author": {
10
10
  "name": "Vignesh T.V",
11
- "email": "vignesh@burdenoff.com",
12
11
  "url": "https://github.com/tvvignesh"
13
12
  },
14
- "license": "SEE LICENSE IN LICENSE",
13
+ "license": "MIT",
15
14
  "exports": {
16
15
  ".": {
17
16
  "import": "./dist/index.js",