Skip to content

Commit 8722330

Browse files
author
Your Name
committed
Update website to v1.0.14 - OpenTUI 0.1.74, Ctrl+F fix, bug fixes
1 parent 5c46b1c commit 8722330

File tree

5 files changed

+124
-8
lines changed

5 files changed

+124
-8
lines changed

api/latest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.13",
2+
"version": "1.0.14",
33
"channel": "latest",
4-
"download_url": "https://github.com/Persistence-AI/Landing/releases/download/v1.0.13/"
4+
"download_url": "https://github.com/Persistence-AI/Landing/releases/download/v1.0.14/"
55
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
3+
<metadata>
4+
<id>persistenceai</id>
5+
<version>1.0.14</version>
6+
<title>PersistenceAI</title>
7+
<authors>Persistence-AI</authors>
8+
<owners>Persistence-AI</owners>
9+
<projectUrl>https://github.com/Persistence-AI/Landing</projectUrl>
10+
<description>The AI coding agent built for the terminal. PersistenceAI is an agentic coding extension that provides intelligent code assistance directly in your terminal.</description>
11+
<summary>AI coding agent for the terminal</summary>
12+
<releaseNotes>https://github.com/Persistence-AI/Landing/releases</releaseNotes>
13+
<tags>ai coding agent terminal cli development tools</tags>
14+
<license type="expression">MIT</license>
15+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
16+
<packageSourceUrl>https://github.com/Persistence-AI/Landing</packageSourceUrl>
17+
<docsUrl>https://persistence-ai.github.io/Landing</docsUrl>
18+
<bugTrackerUrl>https://github.com/Persistence-AI/Landing/issues</bugTrackerUrl>
19+
</metadata>
20+
<files>
21+
<file src="tools\**" target="tools" />
22+
</files>
23+
</package>
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
$ErrorActionPreference = 'Stop'
2+
3+
$packageName = 'persistenceai'
4+
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
5+
$version = '1.0.14'
6+
$url = "https://github.com/Persistence-AI/Landing/releases/download/v$version/persistenceai-windows-x64-v$version.zip"
7+
$checksum = ''
8+
$checksumType = 'sha256'
9+
10+
# Create temp directory
11+
$tempDir = Join-Path $env:TEMP "chocolatey-$packageName-$([guid]::NewGuid().ToString('N').Substring(0,8))"
12+
New-Item -ItemType Directory -Force -Path $tempDir | Out-Null
13+
14+
try {
15+
# Download
16+
Write-Host "Downloading PersistenceAI v$version..."
17+
$zipFile = Join-Path $tempDir "persistenceai.zip"
18+
Invoke-WebRequest -Uri $url -OutFile $zipFile -UseBasicParsing
19+
20+
# Verify checksum if provided
21+
if ($checksum) {
22+
$fileHash = Get-FileHash -Path $zipFile -Algorithm $checksumType
23+
if ($fileHash.Hash -ne $checksum) {
24+
throw "Checksum verification failed. Expected $checksum but got $($fileHash.Hash)"
25+
}
26+
}
27+
28+
# Extract
29+
Write-Host "Extracting archive..."
30+
Expand-Archive -Path $zipFile -DestinationPath $tempDir -Force
31+
32+
# Find executable
33+
$exePath = Get-ChildItem -Path $tempDir -Filter "persistenceai.exe" -Recurse | Select-Object -First 1
34+
if (-not $exePath) {
35+
$exePath = Get-ChildItem -Path $tempDir -Filter "pai.exe" -Recurse | Select-Object -First 1
36+
}
37+
38+
if (-not $exePath) {
39+
throw "Executable not found in archive"
40+
}
41+
42+
# Install to Chocolatey bin directory
43+
$binDir = Join-Path $toolsDir "..\..\bin"
44+
New-Item -ItemType Directory -Force -Path $binDir | Out-Null
45+
46+
$targetPath = Join-Path $binDir "persistenceai.exe"
47+
Copy-Item $exePath.FullName -Destination $targetPath -Force
48+
49+
Write-Host "PersistenceAI installed successfully to $targetPath"
50+
Write-Host "Add $binDir to your PATH to use 'persistenceai' command"
51+
}
52+
finally {
53+
# Cleanup
54+
Remove-Item $tempDir -Recurse -Force -ErrorAction SilentlyContinue
55+
}

index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

scoop/persistenceai.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"version": "1.0.14",
3+
"description": "The AI coding agent built for the terminal",
4+
"homepage": "https://github.com/Persistence-AI/Landing",
5+
"license": "MIT",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://github.com/Persistence-AI/Landing/releases/download/v1.0.14/persistenceai-windows-x64-v1.0.14.zip",
9+
"hash": "",
10+
"extract_dir": ""
11+
}
12+
},
13+
"bin": [
14+
[
15+
"bin/persistenceai.exe",
16+
"persistenceai"
17+
],
18+
[
19+
"bin/pai.exe",
20+
"pai"
21+
]
22+
],
23+
"checkver": {
24+
"github": "https://github.com/Persistence-AI/Landing"
25+
},
26+
"autoupdate": {
27+
"architecture": {
28+
"64bit": {
29+
"url": "https://github.com/Persistence-AI/Landing/releases/download/v$version/persistenceai-windows-x64-v$version.zip"
30+
}
31+
}
32+
},
33+
"notes": [
34+
"PersistenceAI is now installed!",
35+
"Run 'persistenceai' or 'pai' to start using it.",
36+
"For more information, visit: https://persistence-ai.github.io/Landing"
37+
]
38+
}

0 commit comments

Comments
 (0)