@keepware/wakeagent 0.0.0-stage → 0.6.2

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.
package/LICENSE.md ADDED
@@ -0,0 +1,7 @@
1
+ # WakeAgent — licence
2
+
3
+ © 2026 Keepware. All rights reserved.
4
+
5
+ WakeAgent is free to use. Using it — this package, the `wakeagent` program, the menu bar app and the service at
6
+ wakeagent.keepware.dev — is governed by Keepware's terms: https://www.keepware.dev/terms. WakeAgent is not open source:
7
+ you may install and run it, but not redistribute modified copies.
package/README.md CHANGED
@@ -1,3 +1,26 @@
1
- # Temporary Holding Version
1
+ # @keepware/wakeagent
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **WakeAgent wakes your AI agents when something happens** — a CI run fails, a PR gets a review, a Jira issue moves.
4
+ Your team's GitHub, GitLab, Bitbucket, Jira, Sentry, Linear and plain webhooks send their events to WakeAgent; an agent
5
+ that asked for an event is woken with it. A [Keepware](https://www.keepware.dev) product, free, in beta; you sign in
6
+ with your Keepware account.
7
+
8
+ This package is the local program, `wakeagent`, for macOS (Apple silicon and Intel) and Linux (x64 and arm64). Claude
9
+ Code first; any other agent through the API and MCP.
10
+
11
+ ```bash
12
+ npx -y @keepware/wakeagent login --team <your team> # once per team: opens keepware.dev to allow it
13
+ claude mcp add wakeagent-<your team> -- npx -y @keepware/wakeagent mcp --team <your team>
14
+ npx -y @keepware/wakeagent hooks install # optional: Claude Code's Stop / prompt hooks (asks first)
15
+ npx -y @keepware/wakeagent daemon install # optional: keep it running from login
16
+ ```
17
+
18
+ Then ask your agent, for example, *"wait for the CI run of the commit I just pushed and fix it if it fails"*. Event
19
+ sources are added on keepware.dev → Account → WakeAgent.
20
+
21
+ - Product page, the menu bar app for the Mac, FAQ: https://www.keepware.dev/wakeagent
22
+ - Setting it up, step by step (also for your agent to read): https://www.keepware.dev/wakeagent/setup.md
23
+ - Integrating an agent product or harness: https://www.keepware.dev/wakeagent/integrate.md
24
+
25
+ `npx -y @keepware/wakeagent --help` lists every command. Licence: [LICENSE.md](LICENSE.md) (free to use; Keepware's
26
+ terms).
@@ -0,0 +1,39 @@
1
+ #!/usr/bin/env node
2
+ // @keepware/wakeagent's launcher, as esbuild's npm package does it: the prebuilt `wakeagent` binary lives in one
3
+ // optional dependency per platform (@keepware/wakeagent-<platform>-<arch>, which npm installs only on its own
4
+ // os / cpu); this finds it and runs it with the same arguments, stdio, signals and exit code. Nothing is compiled or
5
+ // downloaded at install time. WAKEAGENT_BINARY points it at another binary (a local build).
6
+ 'use strict';
7
+ const { spawn } = require('node:child_process');
8
+ const path = require('node:path');
9
+
10
+ function binary() {
11
+ if (process.env.WAKEAGENT_BINARY) return process.env.WAKEAGENT_BINARY;
12
+ const pkg = `@keepware/wakeagent-${process.platform}-${process.arch}`;
13
+ const exe = process.platform === 'win32' ? 'wakeagent.exe' : 'wakeagent';
14
+ try {
15
+ return require.resolve(`${pkg}/bin/${exe}`);
16
+ } catch {
17
+ // installed with --no-optional, or a platform without a prebuilt binary
18
+ try {
19
+ return path.join(path.dirname(require.resolve(`${pkg}/package.json`)), 'bin', exe);
20
+ } catch {
21
+ process.stderr.write(
22
+ `WakeAgent has no prebuilt program for ${process.platform}-${process.arch} here (the package ${pkg} isn't installed).\n` +
23
+ 'Reinstall without --no-optional / --omit=optional, or see https://www.keepware.dev/wakeagent.\n',
24
+ );
25
+ process.exit(1);
26
+ }
27
+ }
28
+ }
29
+
30
+ const child = spawn(binary(), process.argv.slice(2), { stdio: 'inherit' });
31
+ for (const sig of ['SIGINT', 'SIGTERM', 'SIGHUP']) process.on(sig, () => child.kill(sig));
32
+ child.on('error', (e) => {
33
+ process.stderr.write(`Could not run WakeAgent's program: ${e.message}\n`);
34
+ process.exit(1);
35
+ });
36
+ child.on('exit', (code, signal) => {
37
+ if (signal) process.kill(process.pid, signal);
38
+ else process.exit(code ?? 1);
39
+ });
package/package.json CHANGED
@@ -1,6 +1,41 @@
1
1
  {
2
2
  "name": "@keepware/wakeagent",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.6.2",
4
+ "description": "WakeAgent wakes your AI agents when something happens — a CI run fails, a PR gets a review, a Jira issue moves. The local program: sign in per team, the MCP server for Claude Code, waits, subscriptions, triggers.",
5
+ "keywords": [
6
+ "claude-code",
7
+ "mcp",
8
+ "ai-agents",
9
+ "webhooks",
10
+ "github",
11
+ "jira",
12
+ "sentry",
13
+ "linear",
14
+ "ci",
15
+ "keepware"
16
+ ],
17
+ "homepage": "https://www.keepware.dev/wakeagent",
18
+ "bugs": {
19
+ "url": "https://www.keepware.dev/wakeagent",
20
+ "email": "hello@keepware.dev"
21
+ },
22
+ "license": "SEE LICENSE IN LICENSE.md",
23
+ "author": "Keepware (https://www.keepware.dev)",
24
+ "bin": {
25
+ "wakeagent": "bin/wakeagent.js"
26
+ },
27
+ "files": [
28
+ "bin/wakeagent.js",
29
+ "README.md",
30
+ "LICENSE.md"
31
+ ],
32
+ "engines": {
33
+ "node": ">=18"
34
+ },
35
+ "optionalDependencies": {
36
+ "@keepware/wakeagent-darwin-arm64": "0.6.2",
37
+ "@keepware/wakeagent-darwin-x64": "0.6.2",
38
+ "@keepware/wakeagent-linux-x64": "0.6.2",
39
+ "@keepware/wakeagent-linux-arm64": "0.6.2"
40
+ }
41
+ }