appostle-installer 0.0.1

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.
Binary file
@@ -0,0 +1,17 @@
1
+ typeset -g APPOSTLE_SHELL_INTEGRATION_DIR="${${(%):-%N}:A:h}"
2
+
3
+ if [[ -n "${APPOSTLE_ZSH_ZDOTDIR-}" ]]; then
4
+ export ZDOTDIR="${APPOSTLE_ZSH_ZDOTDIR}"
5
+ else
6
+ unset ZDOTDIR
7
+ fi
8
+
9
+ if [[ -n "${ZDOTDIR-}" ]]; then
10
+ if [[ -f "${ZDOTDIR}/.zshenv" ]]; then
11
+ source "${ZDOTDIR}/.zshenv"
12
+ fi
13
+ elif [[ -f "${HOME}/.zshenv" ]]; then
14
+ source "${HOME}/.zshenv"
15
+ fi
16
+
17
+ source "${APPOSTLE_SHELL_INTEGRATION_DIR}/appostle-integration.zsh"
@@ -0,0 +1,17 @@
1
+ if [[ -n "${_APPOSTLE_ZSH_INTEGRATION_LOADED-}" ]]; then
2
+ return
3
+ fi
4
+ typeset -g _APPOSTLE_ZSH_INTEGRATION_LOADED=1
5
+
6
+ autoload -Uz add-zsh-hook
7
+
8
+ function _appostle_precmd() {
9
+ printf '\e]2;%s\a' "${PWD/#$HOME/~}"
10
+ }
11
+
12
+ function _appostle_preexec() {
13
+ printf '\e]2;%s\a' "$1"
14
+ }
15
+
16
+ add-zsh-hook precmd _appostle_precmd
17
+ add-zsh-hook preexec _appostle_preexec
package/package.json ADDED
@@ -0,0 +1,109 @@
1
+ {
2
+ "name": "appostle-installer",
3
+ "version": "0.0.1",
4
+ "engines": {
5
+ "node": ">=20.12"
6
+ },
7
+ "description": "One package for everything Appostle needs on a user's machine: daemon, appostle CLI, agent provider CLIs (Claude Code, Codex, OpenCode), and pairing flow with appostle.app.",
8
+ "type": "module",
9
+ "license": "MIT",
10
+ "homepage": "https://gitlab.com/ohlord-suite/appostle",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://gitlab.com/ohlord-suite/appostle.git",
14
+ "directory": "packages/installer"
15
+ },
16
+ "files": [
17
+ "bin",
18
+ "dist"
19
+ ],
20
+ "publishConfig": {
21
+ "access": "public"
22
+ },
23
+ "bin": {
24
+ "appostle-installer": "bin/appostle-installer.mjs",
25
+ "appostle": "bin/appostle.mjs"
26
+ },
27
+ "scripts": {
28
+ "build": "node build.mjs",
29
+ "prepack": "npm run build",
30
+ "typecheck": "tsc --noEmit",
31
+ "dev": "tsx src/index.ts"
32
+ },
33
+ "dependencies": {
34
+ "@agentclientprotocol/sdk": "^0.17.1",
35
+ "@ai-sdk/openai": "2.0.52",
36
+ "@anthropic-ai/claude-agent-sdk": "^0.2.11",
37
+ "@clack/prompts": "^1.0.0",
38
+ "@deepgram/sdk": "^3.4.0",
39
+ "@isaacs/ttlcache": "^2.1.4",
40
+ "@lezer/common": "^1.5.0",
41
+ "@lezer/cpp": "^1.1.5",
42
+ "@lezer/css": "^1.3.0",
43
+ "@lezer/go": "^1.0.1",
44
+ "@lezer/highlight": "^1.2.3",
45
+ "@lezer/html": "^1.3.13",
46
+ "@lezer/java": "^1.1.3",
47
+ "@lezer/javascript": "^1.5.4",
48
+ "@lezer/json": "^1.0.3",
49
+ "@lezer/markdown": "^1.6.2",
50
+ "@lezer/php": "^1.0.5",
51
+ "@lezer/python": "^1.1.18",
52
+ "@lezer/rust": "^1.0.2",
53
+ "@lezer/xml": "^1.0.6",
54
+ "@lezer/yaml": "^1.0.4",
55
+ "@mariozechner/pi-coding-agent": "^0.67.68",
56
+ "@modelcontextprotocol/sdk": "^1.20.1",
57
+ "@opencode-ai/sdk": "1.2.6",
58
+ "@sctg/sentencepiece-js": "^1.1.0",
59
+ "@types/web-push": "^3.6.4",
60
+ "@xterm/headless": "^6.0.0",
61
+ "ai": "5.0.78",
62
+ "ajv": "^8.17.1",
63
+ "base64-js": "^1.5.1",
64
+ "chalk": "^5.3.0",
65
+ "commander": "^12.0.0",
66
+ "dotenv": "^17.2.3",
67
+ "execa": "^9.5.0",
68
+ "express": "^4.18.2",
69
+ "express-basic-auth": "^1.2.1",
70
+ "fast-deep-equal": "^3.1.3",
71
+ "fast-uri": "^3.1.0",
72
+ "lezer-elixir": "^1.1.2",
73
+ "mime-types": "^2.1.35",
74
+ "mnemonic-id": "^3.2.7",
75
+ "node-pty": "1.2.0-beta.11",
76
+ "onnxruntime-node": "^1.23.0",
77
+ "openai": "^4.20.0",
78
+ "p-limit": "^7.3.0",
79
+ "pino": "^10.2.0",
80
+ "pino-pretty": "^13.1.3",
81
+ "qrcode": "^1.5.4",
82
+ "rotating-file-stream": "^3.2.9",
83
+ "sherpa-onnx": "1.12.28",
84
+ "sherpa-onnx-node": "1.12.28",
85
+ "strip-ansi": "^7.1.2",
86
+ "tiny-invariant": "^1.3.3",
87
+ "tweetnacl": "^1.0.3",
88
+ "uuid": "^9.0.1",
89
+ "web-push": "^3.6.7",
90
+ "which": "^5.0.0",
91
+ "ws": "^8.14.2",
92
+ "yaml": "^2.8.2",
93
+ "zod": "^3.25.76",
94
+ "zod-to-json-schema": "^3.25.1"
95
+ },
96
+ "devDependencies": {
97
+ "@appostle/cli": "1.0.0-rc.8",
98
+ "@appostle/highlight": "1.0.0-rc.8",
99
+ "@appostle/relay": "1.0.0-rc.8",
100
+ "@appostle/server": "1.0.0-rc.8",
101
+ "@types/mime-types": "^3.0.1",
102
+ "@types/node": "^20.9.0",
103
+ "@types/which": "^3.0.3",
104
+ "@types/ws": "^8.5.8",
105
+ "esbuild": "^0.27.3",
106
+ "tsx": "^4.6.0",
107
+ "typescript": "^5.2.2"
108
+ }
109
+ }