ocx 1.0.11 → 1.0.12
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/dist/index.js +6 -2
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -12325,6 +12325,10 @@ function registerBuildCommand(program2) {
|
|
|
12325
12325
|
}))
|
|
12326
12326
|
};
|
|
12327
12327
|
await Bun.write(join2(outPath, "index.json"), JSON.stringify(index, null, 2));
|
|
12328
|
+
const wellKnownDir = join2(outPath, ".well-known");
|
|
12329
|
+
await mkdir2(wellKnownDir, { recursive: true });
|
|
12330
|
+
const discovery = { registry: "/index.json" };
|
|
12331
|
+
await Bun.write(join2(wellKnownDir, "ocx.json"), JSON.stringify(discovery, null, 2));
|
|
12328
12332
|
if (!options2.json) {
|
|
12329
12333
|
const msg = `Built ${registry2.components.length} components to ${relative(options2.cwd, outPath)}`;
|
|
12330
12334
|
spinner2.succeed(msg);
|
|
@@ -13496,7 +13500,7 @@ function registerSearchCommand(program2) {
|
|
|
13496
13500
|
}
|
|
13497
13501
|
|
|
13498
13502
|
// src/index.ts
|
|
13499
|
-
var version = "1.0.
|
|
13503
|
+
var version = "1.0.12";
|
|
13500
13504
|
async function main2() {
|
|
13501
13505
|
const program2 = new Command().name("ocx").description("OpenCode Extensions - Install agents, skills, plugins, and commands").version(version);
|
|
13502
13506
|
registerInitCommand(program2);
|
|
@@ -13511,4 +13515,4 @@ main2().catch((err) => {
|
|
|
13511
13515
|
handleError(err);
|
|
13512
13516
|
});
|
|
13513
13517
|
|
|
13514
|
-
//# debugId=
|
|
13518
|
+
//# debugId=12A4C4DB6A9FC8A464756E2164756E21
|