clawnify 0.22.2 → 0.22.3

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.
@@ -658,7 +658,7 @@ async function pollUntilReady(resourceId, options = {}) {
658
658
  }
659
659
 
660
660
  // src/version.ts
661
- var VERSION = "0.22.2";
661
+ var VERSION = "0.22.3";
662
662
 
663
663
  export {
664
664
  OAUTH_CLIENT_ID,
@@ -22,7 +22,7 @@ import {
22
22
  resolveOrgContext,
23
23
  saveAuth,
24
24
  saveProject
25
- } from "./chunk-CMR2WSTR.js";
25
+ } from "./chunk-XNVXQ7A5.js";
26
26
 
27
27
  // src/cli.ts
28
28
  import { Command, Option } from "commander";
@@ -1777,7 +1777,7 @@ function agentByName(name) {
1777
1777
  var ALL_AGENTS = DETECTORS.map((d) => d.agent);
1778
1778
 
1779
1779
  // src/lib/skills/content.gen.ts
1780
- var CLI_VERSION = "0.22.2";
1780
+ var CLI_VERSION = "0.22.3";
1781
1781
  var BUNDLED_SKILLS = [
1782
1782
  {
1783
1783
  name: "build-a-clawnify-app",
@@ -4609,8 +4609,9 @@ async function workspaceConnectCommand(opts) {
4609
4609
  then re-run \`clawnify workspace connect\`.`);
4610
4610
  process.exit(1);
4611
4611
  }
4612
- const orgId = await resolveOrgContext();
4613
- const orgOpt = orgId ? { orgId } : void 0;
4612
+ const org = await resolveOrg({ org: opts?.org });
4613
+ const orgId = org.id;
4614
+ const orgOpt = { orgId };
4614
4615
  let installs = await listInstallations(orgId);
4615
4616
  if (installs.length === 0) {
4616
4617
  console.log(`No GitHub account is connected to this workspace yet.
@@ -4649,7 +4650,7 @@ async function workspaceConnectCommand(opts) {
4649
4650
  }
4650
4651
  install = match;
4651
4652
  }
4652
- console.log(`Connecting the workspace via @${install.account}...`);
4653
+ console.log(`Connecting ${org.name} (${org.slug}) via @${install.account}...`);
4653
4654
  let ws = await connectWholeWorkspace(install.id, orgOpt);
4654
4655
  if (ws.state === "needs-first-target" || ws.state === "unavailable") {
4655
4656
  const site = await connectWebsite(install, orgOpt);
@@ -5222,7 +5223,7 @@ async function runCli() {
5222
5223
  const workspace = program.command("workspace").description("Show the org's workspace: its repo (Clawnify git or GitHub), targets, and how to edit locally").option("--json", "Machine-readable output").action(workspaceStatusCommand);
5223
5224
  workspace.command("clone [dir]").description("Clone the org's Clawnify git repo; git signs in with your Clawnify login").option("--org <slug-or-id>", "Org to clone (defaults to the folder's or only org)").action(workspaceCloneCommand);
5224
5225
  workspace.command("init [dir]").description("Scaffold a workspace monorepo bound to an org").option("--org <slug-or-id>", "Org to bind the workspace to (defaults to active org)").option("--name <name>", "Workspace display name (defaults to the org name)").action(workspaceInitCommand);
5225
- workspace.command("connect").description("Enable GitHub sync: create/join the org's workspace repo and link the website").option("--account <login-or-id>", "GitHub account to use when several are connected").action(workspaceConnectCommand);
5226
+ workspace.command("connect").description("Connect the whole workspace to GitHub: every app, the website and every agent, in one repo").option("--org <slug-or-id>", "Org to connect (needed when you are in several)").option("--account <login-or-id>", "GitHub account to use when several are connected").action(workspaceConnectCommand);
5226
5227
  const knowledge = program.command("knowledge").description("Company Knowledge on disk, for coding agents");
5227
5228
  knowledge.command("pull [dir]").description("Write the org's published Company Knowledge as markdown into a git-ignored folder (default: knowledge/ at the workspace root)").option("--org <slug-or-id>", "Org to pull (defaults to the folder's org)").option("--project <id>", "Pull a Project's sources instead (default folder: knowledge/projects/<name>/)").option("--files", "Also pull the original Company files (kept on for later pulls)").option("--no-files", "Stop pulling the original files, and remove the ones pulled").option("--strict", "Exit non-zero when a file was left because it changed locally").option("-q, --quiet", "Print only what needs attention (the git hook uses it)").action(knowledgePullCommand);
5228
5229
  program.command("git-credential <operation>", { hidden: true }).description("Git credential helper for Clawnify git (get, store, erase)").action(gitCredentialCommand);
package/dist/index.js CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  // src/index.ts
4
4
  if (process.argv.includes("--mcp")) {
5
- const { startMcpServer } = await import("./mcp-NA5DIXTM.js");
5
+ const { startMcpServer } = await import("./mcp-SD3GOBCK.js");
6
6
  await startMcpServer();
7
7
  } else {
8
- const { runCli } = await import("./cli-5XEHE3DX.js");
8
+ const { runCli } = await import("./cli-EEW6EVW4.js");
9
9
  await runCli();
10
10
  }
@@ -7,7 +7,7 @@ import {
7
7
  pollUntilReady,
8
8
  readManifest,
9
9
  saveProject
10
- } from "./chunk-CMR2WSTR.js";
10
+ } from "./chunk-XNVXQ7A5.js";
11
11
 
12
12
  // src/mcp.ts
13
13
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawnify",
3
- "version": "0.22.2",
3
+ "version": "0.22.3",
4
4
  "description": "Deploy your apps and website to Clawnify from the terminal with Claude Code, Codex, and Cursor",
5
5
  "type": "module",
6
6
  "bin": {