@envarai/envarpay 0.2.0-alpha.16 → 0.2.0-alpha.17
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const isSkillInstallerMetadata: (path: string) => path is ".clawhub/origin.json";
|
|
1
|
+
export declare const isSkillInstallerMetadata: (path: string) => path is ".clawhub/origin.json" | ".openclaw/source-origin.json";
|
|
2
2
|
export declare function readSkillInventory(roots: string[]): {
|
|
3
3
|
name: string;
|
|
4
4
|
path: string;
|
|
@@ -6,7 +6,7 @@ import { parse } from 'yaml';
|
|
|
6
6
|
const namePattern = /^[a-z][a-z0-9-]{0,63}$/;
|
|
7
7
|
// Native installer provenance is included in the source digest, but never
|
|
8
8
|
// copied into the executable service package or supplied to the model.
|
|
9
|
-
export const isSkillInstallerMetadata = (path) => path === '.clawhub/origin.json';
|
|
9
|
+
export const isSkillInstallerMetadata = (path) => path === '.clawhub/origin.json' || path === '.openclaw/source-origin.json';
|
|
10
10
|
export function readSkillInventory(roots) {
|
|
11
11
|
const found = [];
|
|
12
12
|
const seen = new Set();
|
|
@@ -74,7 +74,7 @@ def inventory(home):
|
|
|
74
74
|
supported = False
|
|
75
75
|
break
|
|
76
76
|
if (file.suffix.lower() not in {".md", ".txt"} and file.name != "LICENSE"
|
|
77
|
-
and str(file.relative_to(entry.parent))
|
|
77
|
+
and str(file.relative_to(entry.parent)) not in {".clawhub/origin.json", ".openclaw/source-origin.json"}):
|
|
78
78
|
supported = False
|
|
79
79
|
package.append(
|
|
80
80
|
[
|