Commit b76ca25e authored by Yuri Victorovich's avatar Yuri Victorovich
Browse files

misc/github-copilot-cli: update 1.0.21 → 1.0.27

parent 0e53c905
Loading
Loading
Loading
Loading
+6 −11
Original line number Diff line number Diff line
PORTNAME=	github-copilot-cli
DISTVERSION=	1.0.21
DISTVERSION=	1.0.27
PORTEPOCH=	1
CATEGORIES=	misc # machine-learning
DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
DIST_SUBDIR=	${PORTNAME}
DIST_SUBDIR=	${PORTNAME}-x # -x is to see if it would fix checksum errors

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	GitHub Copilot CLI brings the power of the coding agent to terminal
@@ -80,8 +80,8 @@ USES= nodejs:build pkgconfig python:build

NODE_HEADERS=	node-v22.19.0-headers

JS_ARCH=	${ARCH:S/amd64/x64/:S/aarch64/arm64/:S/i386/ia32/:S/powerpc64le/ppc64le/:S/powerpc64/ppc64/:C/armv[67]/arm/} # modeled after electron.mk
PLIST_SUB=	JS_ARCH=${JS_ARCH}
NODE_ARCH=	${ARCH:S/amd64/x64/:S/aarch64/arm64/:S/i386/ia32/:S/powerpc64le/ppc64le/:S/powerpc64/ppc64/:C/armv[67]/arm/} # modeled after electron.mk
PLIST_SUB=	NODE_ARCH=${NODE_ARCH}

DEP_MODULES=			pty sharp keytar node_addon_api
dep_pty_npm_name=		@devm33/node-pty
@@ -166,8 +166,8 @@ do-build:
	@cd ${WRKDIR}/sharp-${dep_sharp_version}/node_modules/${dep_sharp_npm_name}/src && \
		${SETENV} HOME=${WRKDIR} PYTHON=${PYTHON_CMD} CXXFLAGS="-I${LOCALBASE}/include" \
			node-gyp configure build --nodedir=${WRKDIR}/node-v22.19.0 && \
		${MKDIR} ${WRKSRC}/node_modules/@img/sharp-freebsd-x64 && \
		${CP} build/Release/sharp-freebsd-x64.node ${WRKSRC}/node_modules/@img/sharp-freebsd-x64/sharp.node
		${MKDIR} ${WRKSRC}/node_modules/${PACKAGE_NAME}/node_modules/@img/sharp-freebsd-${NODE_ARCH} && \
		${CP} build/Release/sharp-freebsd-${NODE_ARCH}.node ${WRKSRC}/node_modules/${PACKAGE_NAME}/node_modules/@img/sharp-freebsd-${NODE_ARCH}/sharp.node
	@${ECHO_MSG} "====> Building keytar..."
	@cd ${WRKDIR}/keytar-${dep_keytar_version}/node_modules/${dep_keytar_npm_name} && \
		${SETENV} HOME=${WRKDIR} CFLAGS="-I${LOCALBASE}/include" CXXFLAGS="-I${LOCALBASE}/include" \
@@ -175,11 +175,6 @@ do-build:
		${CP} build/Release/keytar.node ${WRKSRC}/node_modules/${PACKAGE_NAME}/prebuilds/freebsd-x64/
.if ${FLAVOR} == binary
	@${ECHO_MSG} "====> Creating copilot bundle (includes node runtime)..."
	# Copy @img/sharp-freebsd-x64 into copilot's node_modules so it is findable
	# after extraction to the cache dir (node resolves it relative to app.js)
	@${MKDIR} ${WRKSRC}/node_modules/${PACKAGE_NAME}/node_modules/@img
	@${CP} -r ${WRKSRC}/node_modules/@img/sharp-freebsd-x64 \
		${WRKSRC}/node_modules/${PACKAGE_NAME}/node_modules/@img/
	# Embed the node runtime so it runs without a system node installation
	@${CP} ${LOCALBASE}/bin/node ${WRKSRC}/node_modules/${PACKAGE_NAME}/node
	@cd ${WRKSRC}/node_modules/${PACKAGE_NAME} && \
+13 −13
Original line number Diff line number Diff line
TIMESTAMP = 1775672418
SHA256 (github-copilot-cli/github-copilot-cli-1.0.21.tar.gz) = b39a4fa2256a8ae4d2aec4fd6ef3b9692d39ca8b2593da5492349342179ab6f3
SIZE (github-copilot-cli/github-copilot-cli-1.0.21.tar.gz) = 37195040
SHA256 (github-copilot-cli/node-v22.19.0-headers.tar.gz) = 183bdc17092336ad21e01a425d238e85db4ee077ae3caa0547ff1fbda07d9bd8
SIZE (github-copilot-cli/node-v22.19.0-headers.tar.gz) = 8750990
SHA256 (github-copilot-cli/pty-1.0.9.tar.gz) = 0f7550a42239ed4deae3429cf1a568aba8683baa829ff40d7b0d3ae751323dd6
SIZE (github-copilot-cli/pty-1.0.9.tar.gz) = 14897699
SHA256 (github-copilot-cli/sharp-0.34.4.tar.gz) = af86e97f52a691f7cb136260226589123015c7092ef8c775ef96b369b87c1e16
SIZE (github-copilot-cli/sharp-0.34.4.tar.gz) = 175443
SHA256 (github-copilot-cli/keytar-7.9.0.tar.gz) = f42d7442ff470c1a52a985cf2d1575c24fa1fa844a98b8394ad615bc90a93d36
SIZE (github-copilot-cli/keytar-7.9.0.tar.gz) = 290417
SHA256 (github-copilot-cli/node-addon-api-8.5.0.tar.gz) = 152ef6a9b5450a7c0ce87a2d0be3aa458d1f65c515e9d189cc9fa09feb5aa50e
SIZE (github-copilot-cli/node-addon-api-8.5.0.tar.gz) = 61743
TIMESTAMP = 1776272690
SHA256 (github-copilot-cli-x/github-copilot-cli-1.0.27.tar.gz) = 7c89c8da7d2961d5152a52eb7eeff960a7475739f00fc0bf6336a0e577fb3124
SIZE (github-copilot-cli-x/github-copilot-cli-1.0.27.tar.gz) = 37365876
SHA256 (github-copilot-cli-x/node-v22.19.0-headers.tar.gz) = 183bdc17092336ad21e01a425d238e85db4ee077ae3caa0547ff1fbda07d9bd8
SIZE (github-copilot-cli-x/node-v22.19.0-headers.tar.gz) = 8750990
SHA256 (github-copilot-cli-x/pty-1.0.9.tar.gz) = 0f7550a42239ed4deae3429cf1a568aba8683baa829ff40d7b0d3ae751323dd6
SIZE (github-copilot-cli-x/pty-1.0.9.tar.gz) = 14897699
SHA256 (github-copilot-cli-x/sharp-0.34.4.tar.gz) = af86e97f52a691f7cb136260226589123015c7092ef8c775ef96b369b87c1e16
SIZE (github-copilot-cli-x/sharp-0.34.4.tar.gz) = 175443
SHA256 (github-copilot-cli-x/keytar-7.9.0.tar.gz) = f42d7442ff470c1a52a985cf2d1575c24fa1fa844a98b8394ad615bc90a93d36
SIZE (github-copilot-cli-x/keytar-7.9.0.tar.gz) = 290417
SHA256 (github-copilot-cli-x/node-addon-api-8.5.0.tar.gz) = 152ef6a9b5450a7c0ce87a2d0be3aa458d1f65c515e9d189cc9fa09feb5aa50e
SIZE (github-copilot-cli-x/node-addon-api-8.5.0.tar.gz) = 61743
+28 −28
Original line number Diff line number Diff line
@@ -8,30 +8,30 @@
      "name": "@github/copilot-installer",
      "version": "1.0.0",
      "dependencies": {
        "@github/copilot": "^1.0.21"
        "@github/copilot": "^1.0.27"
      }
    },
    "node_modules/@github/copilot": {
      "version": "1.0.21",
      "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.21.tgz",
      "integrity": "sha512-P+nORjNKAtl92jYCG6Qr1Rsw2JoyScgeQSkIR6O2WB37WS5JVdA4ax1WVualMbfuc9V58CPHX6fwyNpkI89FkQ==",
      "version": "1.0.27",
      "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.27.tgz",
      "integrity": "sha512-f9rlylQWzXRWyK+KkCOmC/wCKXbqQUwfwRkgT8p5JqHlTBvmJ6CS8M9aPo4ycv0aJjtbasLlkYHdrfITMA1cjg==",
      "license": "SEE LICENSE IN LICENSE.md",
      "bin": {
        "copilot": "npm-loader.js"
      },
      "optionalDependencies": {
        "@github/copilot-darwin-arm64": "1.0.21",
        "@github/copilot-darwin-x64": "1.0.21",
        "@github/copilot-linux-arm64": "1.0.21",
        "@github/copilot-linux-x64": "1.0.21",
        "@github/copilot-win32-arm64": "1.0.21",
        "@github/copilot-win32-x64": "1.0.21"
        "@github/copilot-darwin-arm64": "1.0.27",
        "@github/copilot-darwin-x64": "1.0.27",
        "@github/copilot-linux-arm64": "1.0.27",
        "@github/copilot-linux-x64": "1.0.27",
        "@github/copilot-win32-arm64": "1.0.27",
        "@github/copilot-win32-x64": "1.0.27"
      }
    },
    "node_modules/@github/copilot/node_modules/@github/copilot-darwin-arm64": {
      "version": "1.0.21",
      "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.21.tgz",
      "integrity": "sha512-aB+s9ldTwcyCOYmzjcQ4SknV6g81z92T8aUJEJZBwOXOTBeWKAJtk16ooAKangZgdwuLgO3or1JUjx1FJAm5nQ==",
      "version": "1.0.27",
      "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.27.tgz",
      "integrity": "sha512-F0mzfLTGngGugSfTuDtG4MMsAK4U8u+Okcb2ftrn9ObHakz/Fzr3DOMld2T8GyzQIbhOnmOYwOk2UvOAZTq/Vg==",
      "cpu": [
        "arm64"
      ],
@@ -45,9 +45,9 @@
      }
    },
    "node_modules/@github/copilot/node_modules/@github/copilot-darwin-x64": {
      "version": "1.0.21",
      "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.21.tgz",
      "integrity": "sha512-aNad81DOGuGShmaiFNIxBUSZLwte0dXmDYkGfAF9WJIgY4qP4A8CPWFoNr8//gY+4CwaIf9V+f/OC6k2BdECbw==",
      "version": "1.0.27",
      "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.27.tgz",
      "integrity": "sha512-Nn1KME4kZDsve+HOMbwvO0XfCznyZN9mzh+DRL+Q5e2CF0PIxIcJC7zP9t1/dBux/CUOyDppniUd5OVTuqbWVQ==",
      "cpu": [
        "x64"
      ],
@@ -61,9 +61,9 @@
      }
    },
    "node_modules/@github/copilot/node_modules/@github/copilot-linux-arm64": {
      "version": "1.0.21",
      "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.21.tgz",
      "integrity": "sha512-FL0NsCnHax4czHVv1S8iBqPLGZDhZ28N3+6nT29xWGhmjBWTkIofxLThKUPcyyMsfPTTxIlrdwWa8qQc5z2Q+g==",
      "version": "1.0.27",
      "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.27.tgz",
      "integrity": "sha512-tg91mQQIChPDdSZCJ2e6iNIvjaOhBAT78o0jkxjF2Hn9bmNt8Iu/ywDUorugtPM+0t82PZY8AwUPkyMmuYokTQ==",
      "cpu": [
        "arm64"
      ],
@@ -77,9 +77,9 @@
      }
    },
    "node_modules/@github/copilot/node_modules/@github/copilot-linux-x64": {
      "version": "1.0.21",
      "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.21.tgz",
      "integrity": "sha512-S7pWVI16hesZtxYbIyfw+MHZpc5ESoGKUVr5Y+lZJNaM2340gJGPQzQwSpvKIRMLHRKI2hXLwciAnYeMFxE/Tg==",
      "version": "1.0.27",
      "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.27.tgz",
      "integrity": "sha512-E2cJLoiT5hWtuLPbVS04fxTM5F7yJL2Xazlf44PLXWPzbp5LQvQ+0SDSxnaAkRVT/DqtrtKitYMCxuDQpkdH7Q==",
      "cpu": [
        "x64"
      ],
@@ -93,9 +93,9 @@
      }
    },
    "node_modules/@github/copilot/node_modules/@github/copilot-win32-arm64": {
      "version": "1.0.21",
      "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.21.tgz",
      "integrity": "sha512-a9qc2Ku+XbyBkXCclbIvBbIVnECACTIWnPctmXWsQeSdeapGxgfHGux7y8hAFV5j6+nhCm6cnyEMS3rkZjAhdA==",
      "version": "1.0.27",
      "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.27.tgz",
      "integrity": "sha512-/V530uFEHf3Pl6itJX4nJjx5fX9RAEIejDiqCDoKvuL8prFHGvx2CoKEz00+1QGpQHN0Z2PA0spN9a8V8o+/KA==",
      "cpu": [
        "arm64"
      ],
@@ -109,9 +109,9 @@
      }
    },
    "node_modules/@github/copilot/node_modules/@github/copilot-win32-x64": {
      "version": "1.0.21",
      "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.21.tgz",
      "integrity": "sha512-9klu+7NQ6tEyb8sibb0rsbimBivDrnNltZho10Bgbf1wh3o+erTjffXDjW9Zkyaw8lZA9Fz8bqhVkKntZq58Lg==",
      "version": "1.0.27",
      "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.27.tgz",
      "integrity": "sha512-ifRG64DAWG09AV6TIvkd5X08DaVMdyvrBC0Iavr75XVA1B9dKldocJAfVtQzhZTkjo/PLHRFTaAaPMNhGTfziA==",
      "cpu": [
        "x64"
      ],
+4 −4
Original line number Diff line number Diff line
bin/copilot
lib/node_modules/.bin/copilot
lib/node_modules/@github/copilot/app.js
lib/node_modules/@github/copilot/builtin-skills/customizing-copilot-cloud-agents-environment/SKILL.md
lib/node_modules/@github/copilot/builtin-skills/customize-cloud-agent/SKILL.md
lib/node_modules/@github/copilot/changelog.json
lib/node_modules/@github/copilot/clipboard/index.js
lib/node_modules/@github/copilot/clipboard/node_modules/@teddyzhu/clipboard/LICENSE
@@ -31,8 +31,8 @@ lib/node_modules/@github/copilot/definitions/task.agent.yaml
lib/node_modules/@github/copilot/index.js
lib/node_modules/@github/copilot/npm-loader.js
lib/node_modules/@github/copilot/npm-loader.js.orig
lib/node_modules/@github/copilot/prebuilds/freebsd-%%JS_ARCH%%/keytar.node
lib/node_modules/@github/copilot/prebuilds/freebsd-%%JS_ARCH%%/pty.node
lib/node_modules/@github/copilot/prebuilds/freebsd-%%NODE_ARCH%%/keytar.node
lib/node_modules/@github/copilot/prebuilds/freebsd-%%NODE_ARCH%%/pty.node
lib/node_modules/@github/copilot/preloads/extension_bootstrap.mjs
lib/node_modules/@github/copilot/preloads/extension_sdk_resolver.mjs
lib/node_modules/@github/copilot/queries/bash-highlights.scm
@@ -95,5 +95,5 @@ lib/node_modules/@github/copilot/tree-sitter-tsx.wasm
lib/node_modules/@github/copilot/tree-sitter-typescript.wasm
lib/node_modules/@github/copilot/tree-sitter.wasm
lib/node_modules/@github/copilot/worker/conoutSocketWorker.js
lib/node_modules/@img/sharp-freebsd-%%JS_ARCH%%/sharp.node
lib/node_modules/@github/copilot/node_modules/@img/sharp-freebsd-%%NODE_ARCH%%/sharp.node
@dir lib/node_modules/@github/copilot/ripgrep/bin