clawcompany 0.22.0 → 0.24.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/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1929,7 +1929,7 @@ import { join } from "path";
|
|
|
1929
1929
|
import { existsSync, readFileSync, writeFileSync, mkdirSync } from "fs";
|
|
1930
1930
|
function banner() {
|
|
1931
1931
|
console.log("");
|
|
1932
|
-
console.log(" \u{1F99E} ClawCompany v0.
|
|
1932
|
+
console.log(" \u{1F99E} ClawCompany v0.24.0");
|
|
1933
1933
|
console.log(" Build for OPC. Every human being is a chairman.");
|
|
1934
1934
|
console.log("");
|
|
1935
1935
|
}
|
|
@@ -2760,6 +2760,10 @@ Today's date: ${dateStr}.` }, ...messages];
|
|
|
2760
2760
|
if (provider) role2.provider = provider;
|
|
2761
2761
|
role2.updatedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
2762
2762
|
}
|
|
2763
|
+
/** Re-resolve roles from the live config. Call after template switch or role CRUD. */
|
|
2764
|
+
refreshRoles() {
|
|
2765
|
+
this.roles = resolveRoles(this.config);
|
|
2766
|
+
}
|
|
2763
2767
|
getRoles() {
|
|
2764
2768
|
return this.roles;
|
|
2765
2769
|
}
|
package/package.json
CHANGED