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.
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveOrgContext,
|
|
23
23
|
saveAuth,
|
|
24
24
|
saveProject
|
|
25
|
-
} from "./chunk-
|
|
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.
|
|
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
|
|
4613
|
-
const
|
|
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
|
|
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("
|
|
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-
|
|
5
|
+
const { startMcpServer } = await import("./mcp-SD3GOBCK.js");
|
|
6
6
|
await startMcpServer();
|
|
7
7
|
} else {
|
|
8
|
-
const { runCli } = await import("./cli-
|
|
8
|
+
const { runCli } = await import("./cli-EEW6EVW4.js");
|
|
9
9
|
await runCli();
|
|
10
10
|
}
|