jjhub 0.1.7 → 0.1.8

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/cli/jjhub.mjs +93 -2
  2. package/package.json +1 -1
@@ -60414,6 +60414,95 @@ var init_operations = __esm({
60414
60414
  }
60415
60415
  });
60416
60416
 
60417
+ // package.json
60418
+ var package_default;
60419
+ var init_package = __esm({
60420
+ "package.json"() {
60421
+ package_default = {
60422
+ name: "jjhub",
60423
+ version: "0.1.8",
60424
+ private: true,
60425
+ description: "JJHub \u2014 a Jujutsu-native overlay atop GitHub: stable change IDs, stacked PRs, platform-wide undo, and an MCP server for coding agents.",
60426
+ type: "module",
60427
+ engines: {
60428
+ node: ">=22.6.0"
60429
+ },
60430
+ scripts: {
60431
+ dev: "tsx watch src/index.ts",
60432
+ start: "tsx src/index.ts",
60433
+ typecheck: "tsc --noEmit",
60434
+ test: "vitest run",
60435
+ lint: "biome check .",
60436
+ generate: "tsx scripts/generate-clients.ts",
60437
+ "generate:check": "tsx scripts/generate-clients.ts --check",
60438
+ "web:dev": "npm --prefix web run dev",
60439
+ "web:build": "npm --prefix web run build",
60440
+ jjhub: "tsx src/cli/index.ts",
60441
+ "build:cli": "node scripts/build-cli.mjs"
60442
+ },
60443
+ dependencies: {
60444
+ "@a2a-js/sdk": "1.0.1",
60445
+ "@agentclientprotocol/sdk": "^1.3.0",
60446
+ "@fastify/static": "^10.1.2",
60447
+ "@fastify/swagger": "^9.8.1",
60448
+ "@modelcontextprotocol/sdk": "~1.30.0",
60449
+ "@octokit/auth-app": "^8.2.0",
60450
+ "@octokit/plugin-throttling": "^11.0.3",
60451
+ "@octokit/rest": "^22.0.1",
60452
+ "ai.matey": "^0.2.1",
60453
+ "ai.matey.backend": "^0.8.2",
60454
+ "ai.matey.core": "^0.3.4",
60455
+ "ai.matey.types": "^0.5.1",
60456
+ fastify: "^5.2.0",
60457
+ "isomorphic-git": "^1.40.0",
60458
+ "isomorphic-jj": "^1.7.0",
60459
+ nodemailer: "^9.0.3",
60460
+ openpgp: "^6.3.1",
60461
+ "web-push": "^3.6.7",
60462
+ zod: "^4.4.3"
60463
+ },
60464
+ devDependencies: {
60465
+ "@biomejs/biome": "^2.5.6",
60466
+ "@types/node": "^26.1.2",
60467
+ "@types/nodemailer": "^8.0.1",
60468
+ "@types/web-push": "^3.6.4",
60469
+ esbuild: "^0.28.1",
60470
+ tsx: "^4.23.1",
60471
+ typescript: "^7.0.2",
60472
+ vitest: "^2.1.9"
60473
+ },
60474
+ bin: {
60475
+ jjhub: "./bin/jjhub.mjs"
60476
+ },
60477
+ repository: {
60478
+ type: "git",
60479
+ url: "git+https://github.com/johnhenry/jjhub.git"
60480
+ },
60481
+ keywords: [
60482
+ "jujutsu",
60483
+ "jj",
60484
+ "version-control",
60485
+ "stacked-diffs",
60486
+ "stacked-prs",
60487
+ "github",
60488
+ "mcp",
60489
+ "model-context-protocol",
60490
+ "developer-tools"
60491
+ ]
60492
+ };
60493
+ }
60494
+ });
60495
+
60496
+ // src/version.ts
60497
+ var JJHUB_VERSION;
60498
+ var init_version = __esm({
60499
+ "src/version.ts"() {
60500
+ "use strict";
60501
+ init_package();
60502
+ JJHUB_VERSION = package_default.version;
60503
+ }
60504
+ });
60505
+
60417
60506
  // src/mcp/confirm.ts
60418
60507
  function elicitationConfirmer(server) {
60419
60508
  return async (message, extra) => {
@@ -60674,7 +60763,7 @@ function registerLandTool(server, api, kind, confirmer, forceLandAllowed) {
60674
60763
  }
60675
60764
  function buildMcpServer(api, opts = {}) {
60676
60765
  const { elicitationSafe = false, forceLandAllowed = false } = opts;
60677
- const server = new McpServer({ name: "jjhub", version: "0.1.0" });
60766
+ const server = new McpServer({ name: "jjhub", version: JJHUB_VERSION });
60678
60767
  const confirmer = opts.confirmer ?? (elicitationSafe ? elicitationConfirmer(server) : void 0);
60679
60768
  registerGeneratedTools(server, api);
60680
60769
  server.registerTool(
@@ -60978,6 +61067,7 @@ var init_server3 = __esm({
60978
61067
  init_stdio2();
60979
61068
  init_zod();
60980
61069
  init_operations();
61070
+ init_version();
60981
61071
  init_confirm();
60982
61072
  repositoryId = external_exports.string().describe("JJHub repository id (from list_repositories)");
60983
61073
  changeId = external_exports.string().describe("Change id, e.g. 'CHG-3'");
@@ -65438,6 +65528,7 @@ var init_agent = __esm({
65438
65528
  "use strict";
65439
65529
  init_acp();
65440
65530
  init_issue_refs();
65531
+ init_version();
65441
65532
  init_commands();
65442
65533
  CHANGE_ID_RE = /^CHG-\d+$/i;
65443
65534
  ISSUE_REF_RE = /^#?(\d+)$/;
@@ -65458,7 +65549,7 @@ var init_agent = __esm({
65458
65549
  return {
65459
65550
  protocolVersion: PROTOCOL_VERSION,
65460
65551
  agentCapabilities: { loadSession: false },
65461
- agentInfo: { name: "jjhub", version: "0.1.0" }
65552
+ agentInfo: { name: "jjhub", version: JJHUB_VERSION }
65462
65553
  };
65463
65554
  }
65464
65555
  async newSession(_params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jjhub",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "jjhub — GitHub CLI with Jujutsu-native superpowers: stable change IDs, stacks, platform-wide undo, and conflicts that wait, layered over plain GitHub repos by a JJHub server.",
5
5
  "bin": {
6
6
  "jjhub": "./dist/cli/jjhub.mjs"