ocx 1.4.5 → 1.4.6
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 +8 -8
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10090,9 +10090,9 @@ var targetPathSchema = exports_external.string().refine((path2) => path2.startsW
|
|
|
10090
10090
|
const dir = parts[1];
|
|
10091
10091
|
if (!dir)
|
|
10092
10092
|
return false;
|
|
10093
|
-
return ["agent", "
|
|
10093
|
+
return ["agent", "skills", "plugin", "command", "tool", "philosophy"].includes(dir);
|
|
10094
10094
|
}, {
|
|
10095
|
-
message: 'Target must be in a valid directory: ".opencode/{agent|
|
|
10095
|
+
message: 'Target must be in a valid directory: ".opencode/{agent|skills|plugin|command|tool|philosophy}/..."'
|
|
10096
10096
|
});
|
|
10097
10097
|
var oauthConfigSchema = exports_external.object({
|
|
10098
10098
|
clientId: exports_external.string().optional(),
|
|
@@ -11125,7 +11125,7 @@ class ConfigResolver {
|
|
|
11125
11125
|
// package.json
|
|
11126
11126
|
var package_default = {
|
|
11127
11127
|
name: "ocx",
|
|
11128
|
-
version: "1.4.
|
|
11128
|
+
version: "1.4.6",
|
|
11129
11129
|
description: "OCX CLI - ShadCN-style registry for OpenCode extensions. Install agents, plugins, skills, and MCP servers.",
|
|
11130
11130
|
author: "kdcokenny",
|
|
11131
11131
|
license: "MIT",
|
|
@@ -15323,7 +15323,7 @@ import path7 from "path";
|
|
|
15323
15323
|
var GHOST_CONFIG_FILE = "ghost.jsonc";
|
|
15324
15324
|
var BACKUP_EXT = ".bak";
|
|
15325
15325
|
var CURRENT_SYMLINK = "current";
|
|
15326
|
-
var FLATTEN_DIRS = ["plugin", "agent", "
|
|
15326
|
+
var FLATTEN_DIRS = ["plugin", "agent", "skills", "command"];
|
|
15327
15327
|
function moveAtomically(source, destination, isDir) {
|
|
15328
15328
|
try {
|
|
15329
15329
|
renameSync(source, destination);
|
|
@@ -15814,7 +15814,7 @@ async function copyDir(src, dest) {
|
|
|
15814
15814
|
}
|
|
15815
15815
|
function getReleaseTag() {
|
|
15816
15816
|
if (false) {}
|
|
15817
|
-
return `v${"1.4.
|
|
15817
|
+
return `v${"1.4.6"}`;
|
|
15818
15818
|
}
|
|
15819
15819
|
function getTemplateUrl(version) {
|
|
15820
15820
|
const ref = version === "main" ? "heads/main" : `tags/${version}`;
|
|
@@ -17217,7 +17217,7 @@ function registerSelfUninstallCommand(parent) {
|
|
|
17217
17217
|
|
|
17218
17218
|
// src/self-update/version-provider.ts
|
|
17219
17219
|
class BuildTimeVersionProvider {
|
|
17220
|
-
version = "1.4.
|
|
17220
|
+
version = "1.4.6";
|
|
17221
17221
|
}
|
|
17222
17222
|
var defaultVersionProvider = new BuildTimeVersionProvider;
|
|
17223
17223
|
|
|
@@ -17874,7 +17874,7 @@ function registerUpdateCheckHook(program2) {
|
|
|
17874
17874
|
});
|
|
17875
17875
|
}
|
|
17876
17876
|
// src/index.ts
|
|
17877
|
-
var version = "1.4.
|
|
17877
|
+
var version = "1.4.6";
|
|
17878
17878
|
async function main2() {
|
|
17879
17879
|
const program2 = new Command().name("ocx").description("OpenCode Extensions - Install agents, skills, plugins, and commands").version(version);
|
|
17880
17880
|
registerInitCommand(program2);
|
|
@@ -17906,4 +17906,4 @@ export {
|
|
|
17906
17906
|
buildRegistry
|
|
17907
17907
|
};
|
|
17908
17908
|
|
|
17909
|
-
//# debugId=
|
|
17909
|
+
//# debugId=77F82471CA163CBD64756E2164756E21
|