@uniqbit/mate-core 0.18.4 → 1.0.0-canary.0
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/claude-plugin/hooks/companion-instructions.mjs +9 -0
- package/claude-plugin/hooks/hooks.json +12 -2
- package/opencode-plugin/src/add-dir.ts +76 -10
- package/opencode-plugin/src/companion.ts +1 -8
- package/opencode-plugin/src/server.ts +2 -15
- package/package.json +10 -2
- package/src/brand/art.generated.ts +69 -0
- package/src/brand/index.ts +12 -0
- package/src/brand/palette.ts +19 -0
- package/src/brand/svg.generated.ts +8 -0
- package/src/brand/terminal.ts +83 -0
- package/src/brand/types.ts +33 -0
- package/src/cli/commands/artifact/artifact.ts +8 -0
- package/src/cli/commands/artifact/delivery/archive.ts +117 -0
- package/src/cli/commands/artifact/delivery/branch-flags.ts +55 -0
- package/src/cli/commands/artifact/delivery/environment.ts +104 -0
- package/src/cli/commands/artifact/delivery/link.ts +154 -0
- package/src/cli/commands/artifact/delivery/output.ts +58 -0
- package/src/cli/commands/artifact/finish/command.ts +33 -3
- package/src/cli/commands/artifact/finish/engine.ts +47 -3
- package/src/cli/commands/artifact/finish/finisher.ts +10 -0
- package/src/cli/commands/artifact/finish/openspec.ts +200 -129
- package/src/cli/commands/artifact/finish/secret-scan.ts +43 -0
- package/src/cli/commands/artifact/pending/command.ts +31 -3
- package/src/cli/commands/artifact/pending/discovery.ts +21 -57
- package/src/cli/commands/cap/graphify.ts +52 -3
- package/src/cli/commands/cap/index-cmd.ts +8 -1
- package/src/cli/commands/cap/openspec.ts +13 -25
- package/src/cli/commands/companion/open.ts +56 -39
- package/src/cli/commands/companion/update.ts +75 -42
- package/src/cli/commands/doctor.ts +257 -78
- package/src/cli/commands/install.ts +0 -8
- package/src/cli/commands/plugin/install.ts +9 -4
- package/src/cli/commands/plugin/plugin.ts +3 -2
- package/src/cli/commands/report/adapter.ts +11 -2
- package/src/cli/commands/report/contract.ts +21 -0
- package/src/cli/commands/report/highlight.ts +34 -4
- package/src/cli/commands/report/markdown.ts +110 -0
- package/src/cli/commands/report/palette.ts +118 -0
- package/src/cli/commands/report/renderer.ts +456 -153
- package/src/cli/commands/report/types.ts +16 -0
- package/src/cli/commands/setup.ts +7 -15
- package/src/cli/commands/studio/client-asset.ts +16 -0
- package/src/cli/commands/studio/openspec-cli.ts +10 -58
- package/src/cli/commands/studio/routes.ts +2 -0
- package/src/cli/commands/studio/selection.ts +19 -1
- package/src/cli/commands/studio/server.ts +42 -1
- package/src/cli/commands/studio/terminal-launch.ts +7 -16
- package/src/cli/commands/studio/views/client.ts +6 -616
- package/src/cli/commands/studio/views/dashboard/changes.tsx +5 -10
- package/src/cli/commands/studio/views/document.tsx +137 -69
- package/src/cli/commands/studio/views/markdown.tsx +250 -0
- package/src/cli/commands/studio/views/palette.ts +134 -0
- package/src/cli/commands/studio/views/reports/index.tsx +2 -7
- package/src/cli/commands/studio/views/skills/index.tsx +43 -62
- package/src/cli/commands/studio/views/specs/index.tsx +7 -15
- package/src/cli/commands/studio/views/studio-client/actions.ts +51 -0
- package/src/cli/commands/studio/views/studio-client/companion.ts +13 -0
- package/src/cli/commands/studio/views/studio-client/index.ts +32 -0
- package/src/cli/commands/studio/views/studio-client/keys.ts +3 -0
- package/src/cli/commands/studio/views/studio-client/main.ts +3 -0
- package/src/cli/commands/studio/views/studio-client/page.ts +146 -0
- package/src/cli/commands/studio/views/studio-client/panels.ts +57 -0
- package/src/cli/commands/studio/views/studio-client/reports.ts +122 -0
- package/src/cli/commands/studio/views/studio-client/theme.ts +63 -0
- package/src/cli/commands/studio/views/studio-client/vault-editor.ts +166 -0
- package/src/cli/commands/studio/views/studio-client/vault-pane.ts +202 -0
- package/src/cli/commands/studio/views/studio-client/vault-tree.ts +258 -0
- package/src/cli/commands/studio/views/studio-client.generated.ts +2 -0
- package/src/cli/commands/studio/views/styles.ts +217 -206
- package/src/cli/commands/studio/views/vault/state.ts +3 -5
- package/src/cli/commands/studio/views/workflow/delivery-path.tsx +370 -0
- package/src/cli/commands/studio/views/workflow/graph.ts +220 -0
- package/src/cli/commands/studio/views/workflow/index.tsx +2 -3
- package/src/cli/commands/studio/views/workflow/steps.ts +228 -287
- package/src/cli/commands/wrap.ts +9 -42
- package/src/cli/main.ts +4 -1
- package/src/cli/parse-flags.ts +25 -7
- package/src/cli/setup-selector.tsx +38 -162
- package/src/cli/usage.ts +5 -2
- package/src/hooks/companion-instructions.ts +190 -0
- package/src/hooks/hook-io.ts +63 -0
- package/src/hooks/session-banner.ts +21 -29
- package/src/hooks/session-guidance.ts +10 -36
- package/src/hooks/session-prepare.ts +115 -28
- package/src/hooks/validate-artifact-path.ts +82 -24
- package/src/index.ts +4 -0
- package/src/lib/change-layout.ts +154 -0
- package/src/lib/components/wizard-header.tsx +3 -1
- package/src/lib/context-mode-package.ts +24 -11
- package/src/lib/delivery/archive-change.ts +154 -0
- package/src/lib/delivery/branches.ts +108 -0
- package/src/lib/delivery/environment.ts +29 -0
- package/src/lib/delivery/forge.ts +279 -0
- package/src/lib/delivery/overlap.ts +202 -0
- package/src/lib/delivery/record-delivery.ts +196 -0
- package/src/lib/delivery/record.ts +343 -0
- package/src/lib/delivery/refresh.ts +174 -0
- package/src/lib/delivery/repository-access.ts +97 -0
- package/src/lib/delivery/stages.ts +111 -0
- package/src/lib/delivery/token.ts +58 -0
- package/src/lib/frontmatter.ts +18 -0
- package/src/lib/opencode-plugin-package.ts +5 -5
- package/src/lib/openspec-cli.ts +116 -0
- package/src/lib/openspec-scopes.ts +86 -0
- package/src/lib/orchestrator/adapters/claude-args.ts +50 -0
- package/src/lib/orchestrator/adapters/claude.ts +60 -162
- package/src/lib/orchestrator/adapters/opencode.ts +9 -24
- package/src/lib/orchestrator/config-store.ts +2 -70
- package/src/lib/orchestrator/editor.ts +9 -9
- package/src/lib/orchestrator/openspec-store.ts +14 -54
- package/src/lib/orchestrator/projection-claude-commands.ts +36 -0
- package/src/lib/orchestrator/projection-claude-links.ts +159 -0
- package/src/lib/orchestrator/projection-claude-skills.ts +19 -190
- package/src/lib/orchestrator/projection-entries.ts +45 -15
- package/src/lib/orchestrator/projection-runtime-documents.ts +15 -6
- package/src/lib/orchestrator/projection-types.ts +3 -2
- package/src/lib/orchestrator/refresh-working-claude-links.ts +87 -0
- package/src/lib/orchestrator/session-prepare.ts +49 -87
- package/src/lib/orchestrator/setup-compatibilities.ts +18 -75
- package/src/lib/orchestrator/types.ts +2 -2
- package/src/lib/orchestrator/wrap-pass.ts +22 -88
- package/src/lib/package-paths.ts +8 -0
- package/src/opencode/companion-hooks.ts +64 -5
- package/src/opencode/companion-policy.ts +37 -18
- package/src/opencode/projected-guidance.ts +4 -1
- package/src/opencode/session-prepare.ts +2 -1
- package/src/opencode/tui.tsx +4 -2
- package/src/runtime/artifact-refusal.ts +63 -0
- package/src/runtime/claude-delivery-plan.ts +89 -7
- package/src/runtime/commit-attribution-guard.ts +181 -0
- package/src/runtime/companion-guidance.ts +15 -3
- package/src/runtime/companion-instructions.ts +340 -0
- package/src/runtime/error-message.ts +4 -0
- package/src/runtime/guidance.ts +0 -17
- package/src/runtime/index.ts +5 -0
- package/src/runtime/managed-block.ts +117 -0
- package/src/runtime/markdown-scan.ts +266 -0
- package/src/runtime/policy.ts +16 -15
- package/src/runtime/projected-flag.ts +7 -0
- package/src/runtime/projected-guidance.ts +1 -0
- package/src/runtime/runtime-document-manifest.ts +62 -28
- package/src/runtime/secret-guard.ts +148 -0
- package/src/runtime/secret-patterns.ts +164 -0
- package/src/runtime/secret-scan.ts +90 -0
- package/src/runtime/session-kind.ts +13 -0
- package/src/runtime/shell-heredoc.ts +81 -0
- package/src/runtime/wrap-state.ts +36 -6
- package/src/runtime/write-atomic.ts +64 -0
- package/src/templates/capabilities/openspec-cap/mate-minimal/schema.yaml +8 -6
- package/src/templates/capabilities/openspec-cap/mate-minimal/templates/spec.md +3 -5
- package/src/templates/capabilities/openspec-cap/mate-v1/schema.yaml +7 -9
- package/src/templates/capabilities/openspec-cap/mate-v1/templates/spec.md +3 -5
- package/src/templates/capabilities/openspec-cap/openspec-conventions.yaml +10 -12
- package/src/templates/mate-skills/THIRD-PARTY-NOTICES.md +40 -0
- package/src/templates/mate-skills/agents/mate-apply-change/SKILL.md +76 -0
- package/src/templates/mate-skills/agents/mate-apply-change/references/openspec-apply-change.md +198 -0
- package/src/templates/mate-skills/agents/mate-archive-change/SKILL.md +59 -0
- package/src/templates/mate-skills/{claude/mate-openspec-backfill → agents/mate-backfill-spec}/SKILL.md +4 -4
- package/src/templates/mate-skills/agents/mate-clarify-intent/SKILL.md +95 -0
- package/src/templates/mate-skills/agents/mate-explore-change/SKILL.md +50 -0
- package/src/templates/mate-skills/agents/mate-explore-change/references/openspec-explore.md +348 -0
- package/src/templates/mate-skills/agents/mate-grill-me/SKILL.md +3 -3
- package/src/templates/mate-skills/agents/mate-interview-me/SKILL.md +5 -5
- package/src/templates/mate-skills/agents/mate-propose-change/SKILL.md +103 -0
- package/src/templates/mate-skills/agents/mate-propose-change/references/openspec-propose.md +167 -0
- package/src/templates/mate-skills/agents/mate-propose-change/references/openspec-update-change.md +101 -0
- package/src/templates/mate-skills/agents/{mate-artifact-publish → mate-publish-artifact}/SKILL.md +91 -23
- package/src/templates/mate-skills/agents/{mate-artifact-publish → mate-publish-artifact}/references/openspec.md +4 -3
- package/src/templates/mate-skills/agents/mate-show-me/SKILL.md +74 -16
- package/src/templates/mate-skills/agents/mate-simplify-code/SKILL.md +74 -68
- package/src/templates/mate-skills/claude/mate-apply-change/SKILL.md +76 -0
- package/src/templates/mate-skills/claude/mate-apply-change/references/openspec-apply-change.md +198 -0
- package/src/templates/mate-skills/claude/mate-archive-change/SKILL.md +59 -0
- package/src/templates/mate-skills/{agents/mate-openspec-backfill → claude/mate-backfill-spec}/SKILL.md +4 -4
- package/src/templates/mate-skills/claude/mate-clarify-intent/SKILL.md +95 -0
- package/src/templates/mate-skills/claude/mate-explore-change/SKILL.md +50 -0
- package/src/templates/mate-skills/claude/mate-explore-change/references/openspec-explore.md +348 -0
- package/src/templates/mate-skills/claude/mate-grill-me/SKILL.md +3 -3
- package/src/templates/mate-skills/claude/mate-interview-me/SKILL.md +5 -5
- package/src/templates/mate-skills/claude/mate-propose-change/SKILL.md +103 -0
- package/src/templates/mate-skills/claude/mate-propose-change/references/openspec-propose.md +167 -0
- package/src/templates/mate-skills/claude/mate-propose-change/references/openspec-update-change.md +101 -0
- package/src/templates/mate-skills/claude/{mate-artifact-publish → mate-publish-artifact}/SKILL.md +91 -23
- package/src/templates/mate-skills/claude/{mate-artifact-publish → mate-publish-artifact}/references/openspec.md +4 -3
- package/src/templates/mate-skills/claude/mate-show-me/SKILL.md +74 -16
- package/src/templates/mate-skills/claude/mate-simplify-code/SKILL.md +74 -68
- package/src/templates/mate-skills/openspec-references.ts +140 -0
- package/src/templates/root/TEMPLATE_AGENTS.md +2 -2
- package/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap +3727 -320
- package/src/tools/setup/capabilities/context-mode.ts +25 -5
- package/src/tools/setup/capabilities/graphify-gate.ts +31 -0
- package/src/tools/setup/capabilities/graphify-secrets.ts +255 -0
- package/src/tools/setup/capabilities/graphify.ts +12 -0
- package/src/tools/setup/capabilities/openspec.ts +273 -270
- package/src/tools/setup/capabilities/tokensave.ts +36 -3
- package/src/tools/setup/context-services.ts +9 -17
- package/src/tools/setup/dynamic-plugins/audiences.ts +7 -39
- package/src/tools/setup/dynamic-plugins/declarations.ts +1 -1
- package/src/tools/setup/dynamic-plugins/hydrate.ts +4 -7
- package/src/tools/setup/dynamic-plugins/install.ts +24 -28
- package/src/tools/setup/engine.ts +93 -148
- package/src/tools/setup/managed-output.ts +51 -0
- package/src/tools/setup/mate.ts +86 -11
- package/src/tools/setup/plugin.ts +37 -17
- package/src/tools/setup/plugins/gitignore.ts +1 -7
- package/src/tools/setup/plugins/guidance.ts +7 -4
- package/src/tools/setup/providers/agent-file-sections.ts +4 -2
- package/src/tools/setup/providers/claude-attribution.ts +65 -0
- package/src/tools/setup/providers/claude-plugin-folders.ts +625 -0
- package/src/tools/setup/providers/claude-plugin-hooks.ts +39 -19
- package/src/tools/setup/providers/claude.ts +285 -34
- package/src/tools/setup/providers/opencode.ts +180 -11
- package/src/tools/setup/registry.ts +2 -24
- package/src/tools/setup/surface-target.ts +4 -13
- package/src/tools/setup/utils.ts +14 -4
- package/src/tools/setup.ts +131 -18
- package/wrappers/bin/graphify +52 -4
- package/wrappers/bin/openspec +33 -9
- package/wrappers/lib/graphify-gate.mjs +8 -0
- package/opencode-plugin/src/audience-layer.ts +0 -91
- package/src/cli/commands/studio/views/workflow/transcript.tsx +0 -190
- package/src/runtime/audience-layer.ts +0 -84
- package/src/runtime/opencode-audience-layer.ts +0 -176
- package/src/tools/setup/audience-isolation.fixture.ts +0 -325
- package/src/tools/setup/audience-layer.ts +0 -207
- package/src/tools/setup/audience-registrations.ts +0 -52
- package/src/tools/setup/contribution-ledger.ts +0 -207
- package/src/tools/setup/isolation-diagnostics.ts +0 -139
- package/src/tools/setup/runtime-documents.ts +0 -291
- package/src/tools/setup/upgrade-sweep.ts +0 -153
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
// oxlint-disable no-await-in-loop
|
|
2
|
-
import fs from "node:fs/promises";
|
|
3
|
-
import path from "node:path";
|
|
4
|
-
|
|
5
|
-
import { FRAMEWORK_NAME } from "../../framework";
|
|
6
|
-
import { removeManagedBlocksForPlugin } from "./context-services";
|
|
7
|
-
import {
|
|
8
|
-
audiencePluginDeclarations,
|
|
9
|
-
declaredAudiences,
|
|
10
|
-
effectivePluginDeclarations,
|
|
11
|
-
readFrameworkRaw,
|
|
12
|
-
} from "./dynamic-plugins/audiences";
|
|
13
|
-
import { validateDeclaration } from "./dynamic-plugins/declarations";
|
|
14
|
-
import { loadDynamicPlugin, type DynamicPluginLoadDeps } from "./dynamic-plugins/loader";
|
|
15
|
-
import type { CapabilityContributionInput, CapabilityPlugin, Plugin, SetupContext } from "./plugin";
|
|
16
|
-
import type { NormalizedRegistration } from "./registry";
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Upgrade Sweep: removes what audience plugins leaked into a companion before
|
|
20
|
-
* the contribution ledger existed. Runs once, when a persisted pass finds no
|
|
21
|
-
* ledger, and again only for the packages it could not load then.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
/** The companion files Mate's managed guidance blocks live in. */
|
|
25
|
-
const GUIDANCE_FILES = ["CLAUDE.md", "AGENTS.md", path.join(".opencode", "AGENTS.md")];
|
|
26
|
-
|
|
27
|
-
const MANAGED_BLOCK_START = new RegExp(
|
|
28
|
-
`<!-- ${FRAMEWORK_NAME}:managed:([^\\n]+):[0-9a-f]+ start -->`,
|
|
29
|
-
"g",
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
/** Plugin ids owning a managed guidance block in `text`. */
|
|
33
|
-
export function managedBlockOwners(text: string): string[] {
|
|
34
|
-
return [...new Set([...text.matchAll(MANAGED_BLOCK_START)].map((match) => match[1]!))];
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/** `relative path → owners` for every managed guidance block under `root`. */
|
|
38
|
-
export async function managedGuidanceOwners(root: string): Promise<Map<string, string[]>> {
|
|
39
|
-
const owners = new Map<string, string[]>();
|
|
40
|
-
for (const file of GUIDANCE_FILES) {
|
|
41
|
-
const text = await fs.readFile(path.join(root, file), "utf8").catch(() => null);
|
|
42
|
-
if (text === null) continue;
|
|
43
|
-
const found = managedBlockOwners(text);
|
|
44
|
-
if (found.length > 0) owners.set(file, found);
|
|
45
|
-
}
|
|
46
|
-
return owners;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Guidance blocks name their owner, so this needs no plugin loaded: every
|
|
51
|
-
* block whose owner is not a base registration goes.
|
|
52
|
-
*/
|
|
53
|
-
export async function removeForeignGuidanceBlocks(
|
|
54
|
-
root: string,
|
|
55
|
-
baseIds: ReadonlySet<string>,
|
|
56
|
-
): Promise<void> {
|
|
57
|
-
for (const [file, owners] of await managedGuidanceOwners(root)) {
|
|
58
|
-
for (const owner of owners) {
|
|
59
|
-
if (baseIds.has(owner)) continue;
|
|
60
|
-
await removeManagedBlocksForPlugin(path.join(root, file), FRAMEWORK_NAME, owner);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export interface AudienceSweep {
|
|
66
|
-
/** Disabled inputs for every swept plugin, per runtime. */
|
|
67
|
-
teardown: Map<string, CapabilityContributionInput[]>;
|
|
68
|
-
/** Packages that could not be loaded; their non-guidance entries stay until a retry. */
|
|
69
|
-
unswept: string[];
|
|
70
|
-
warnings: string[];
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export interface AudienceSweepOptions {
|
|
74
|
-
/** Every registration of the process; an audience plugin already loaded is reused, not reloaded. */
|
|
75
|
-
registrations: readonly NormalizedRegistration[];
|
|
76
|
-
/** Restrict the sweep to these packages; every audience declaration when absent. */
|
|
77
|
-
packages?: ReadonlySet<string>;
|
|
78
|
-
deps?: DynamicPluginLoadDeps;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/** One distinct package per audience declaration, base packages excluded. */
|
|
82
|
-
function audiencePackages(raw: unknown): Map<string, ReturnType<typeof validateDeclaration>> {
|
|
83
|
-
const basePackages = new Set(
|
|
84
|
-
effectivePluginDeclarations(raw, null).flatMap((entry) => {
|
|
85
|
-
const { declaration } = validateDeclaration(entry);
|
|
86
|
-
return declaration ? [declaration.package] : [];
|
|
87
|
-
}),
|
|
88
|
-
);
|
|
89
|
-
const found = new Map<string, ReturnType<typeof validateDeclaration>>();
|
|
90
|
-
for (const audience of declaredAudiences(raw)) {
|
|
91
|
-
for (const entry of audiencePluginDeclarations(raw, audience)) {
|
|
92
|
-
const validated = validateDeclaration(entry);
|
|
93
|
-
const name = validated.declaration?.package;
|
|
94
|
-
if (!name || basePackages.has(name) || found.has(name)) continue;
|
|
95
|
-
found.set(name, validated);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
return found;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Collects the declarations of every audience plugin as disabled inputs:
|
|
103
|
-
* loaded for its declarations only — never activated, no lifecycle hook run.
|
|
104
|
-
* An unloadable plugin is reported, never fatal.
|
|
105
|
-
*/
|
|
106
|
-
export async function sweepAudienceDeclarations(
|
|
107
|
-
ctx: SetupContext,
|
|
108
|
-
options: AudienceSweepOptions,
|
|
109
|
-
): Promise<AudienceSweep> {
|
|
110
|
-
const sweep: AudienceSweep = { teardown: new Map(), unswept: [], warnings: [] };
|
|
111
|
-
const raw = await readFrameworkRaw(ctx.companionPath);
|
|
112
|
-
|
|
113
|
-
for (const [name, { declaration }] of audiencePackages(raw)) {
|
|
114
|
-
if (options.packages && !options.packages.has(name)) continue;
|
|
115
|
-
let plugin: Plugin | undefined = options.registrations.find(
|
|
116
|
-
(entry) => entry.packageName === name,
|
|
117
|
-
)?.plugin;
|
|
118
|
-
if (!plugin) {
|
|
119
|
-
const loaded = await loadDynamicPlugin(ctx.companionPath, declaration!, options.deps);
|
|
120
|
-
if (!loaded.ok) {
|
|
121
|
-
sweep.unswept.push(name);
|
|
122
|
-
sweep.warnings.push(
|
|
123
|
-
`audience plugin "${name}" was not swept from the companion: ${loaded.warning} Its entries stay until a pass can load it.`,
|
|
124
|
-
);
|
|
125
|
-
continue;
|
|
126
|
-
}
|
|
127
|
-
plugin = loaded.plugin;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
const capability = plugin as CapabilityPlugin;
|
|
131
|
-
if (plugin.kind !== "capability" || !capability.getRuntimeContributions) continue;
|
|
132
|
-
try {
|
|
133
|
-
const byRuntime = await capability.getRuntimeContributions(ctx);
|
|
134
|
-
for (const [runtimeId, contributions] of Object.entries(byRuntime)) {
|
|
135
|
-
if (!contributions) continue;
|
|
136
|
-
const inputs = sweep.teardown.get(runtimeId) ?? [];
|
|
137
|
-
inputs.push({
|
|
138
|
-
pluginId: plugin.id,
|
|
139
|
-
enabled: false,
|
|
140
|
-
capabilityEnabled: false,
|
|
141
|
-
contributions,
|
|
142
|
-
});
|
|
143
|
-
sweep.teardown.set(runtimeId, inputs);
|
|
144
|
-
}
|
|
145
|
-
} catch (error) {
|
|
146
|
-
sweep.unswept.push(name);
|
|
147
|
-
sweep.warnings.push(
|
|
148
|
-
`audience plugin "${name}" was not swept from the companion: ${error instanceof Error ? error.message : String(error)}`,
|
|
149
|
-
);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
return sweep;
|
|
153
|
-
}
|