@damn-dev/cli 0.9.9 → 0.9.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@damn-dev/cli",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "description": "damn.dev — self-hosted workspace OS for human + AI agent collaboration.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://damn.dev",
@@ -19078,6 +19078,16 @@ Or just tell me what you're working on \u2014 I'll figure out the rest.`
19078
19078
  hasGoogleAuth: trpc_12.publicProcedure.query(() => {
19079
19079
  return { enabled: !!(process.env.GOOGLE_CLIENT_ID && process.env.GOOGLE_CLIENT_ID.length > 0) };
19080
19080
  }),
19081
+ providersConfigured: trpc_12.protectedProcedure.query(async () => {
19082
+ let openrouter = false;
19083
+ try {
19084
+ const config = await (0, openclaw_12.readOpenClawConfig)();
19085
+ const key = config?.models?.providers?.openrouter?.apiKey;
19086
+ openrouter = typeof key === "string" && key.length > 0;
19087
+ } catch {
19088
+ }
19089
+ return { openrouter };
19090
+ }),
19081
19091
  signupAllowed: trpc_12.publicProcedure.query(async () => {
19082
19092
  const accountCount = await db_12.db.account.count();
19083
19093
  if (accountCount === 0)
@@ -28002,7 +28012,7 @@ var require_package = __commonJS({
28002
28012
  module2.exports = {
28003
28013
  name: "backend",
28004
28014
  private: true,
28005
- version: "0.9.9",
28015
+ version: "0.9.10",
28006
28016
  scripts: {
28007
28017
  dev: "tsx watch src/server.ts",
28008
28018
  build: "tsc && cp -r resources dist/resources",