@rbbtsn0w/adg 0.8.1-dev.pr106.ab7ab28 → 0.8.1-dev.pr107.826a3c5
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.
|
@@ -83,6 +83,8 @@ export async function resolveSelections(opts, selected, candidates) {
|
|
|
83
83
|
return selections; // user kept everything
|
|
84
84
|
for (const name of selected) {
|
|
85
85
|
const cand = candidates.get(name);
|
|
86
|
+
if (!cand)
|
|
87
|
+
continue;
|
|
86
88
|
const contents = pluginContents(cand.dir, cand.manifest);
|
|
87
89
|
const present = presentComponents(contents);
|
|
88
90
|
// Nothing meaningful to pick: a lone category with at most one member.
|
|
@@ -188,6 +188,9 @@ export async function addPlugins(opts) {
|
|
|
188
188
|
const installed = [];
|
|
189
189
|
for (const name of order) {
|
|
190
190
|
const candidate = candidates.get(name);
|
|
191
|
+
if (!candidate) {
|
|
192
|
+
throw new Error(`candidate "${name}" not found in resolved candidates`);
|
|
193
|
+
}
|
|
191
194
|
installed.push(installPlugin({
|
|
192
195
|
source: candidate.dir,
|
|
193
196
|
pluginsDir: opts.pluginsDir,
|
package/dist/src/telemetry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-base";
|
|
2
2
|
import { NodeTracerProvider } from "@opentelemetry/sdk-trace-node";
|
|
3
|
-
import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-
|
|
3
|
+
import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-proto";
|
|
4
4
|
import { resourceFromAttributes } from "@opentelemetry/resources";
|
|
5
5
|
import { SemanticResourceAttributes } from "@opentelemetry/semantic-conventions";
|
|
6
6
|
import * as opentelemetry from "@opentelemetry/api";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rbbtsn0w/adg",
|
|
3
|
-
"version": "0.8.1-dev.
|
|
3
|
+
"version": "0.8.1-dev.pr107.826a3c5",
|
|
4
4
|
"description": "Agent Directory Group (ADG) toolkit — two domains: plugins and skills.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@clack/prompts": "^1.2.0",
|
|
50
50
|
"@opentelemetry/api": "^1.9.0",
|
|
51
|
-
"@opentelemetry/exporter-trace-otlp-
|
|
51
|
+
"@opentelemetry/exporter-trace-otlp-proto": "^0.222.0",
|
|
52
52
|
"@opentelemetry/resources": "^2.11.0",
|
|
53
53
|
"@opentelemetry/sdk-trace-base": "^2.11.0",
|
|
54
54
|
"@opentelemetry/sdk-trace-node": "^2.11.0",
|