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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. 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.22.0");
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawcompany",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "description": "Build for OPC. Every human being is a chairman. AI company infrastructure — one key, 9 roles, 4 models.",
5
5
  "type": "module",
6
6
  "bin": { "clawcompany": "dist/index.js" },