wyrm-mcp 6.9.0 → 6.9.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.
Files changed (139) hide show
  1. package/README.md +7 -4
  2. package/dist/agent-daemon.d.ts +2 -2
  3. package/dist/agent-daemon.js +2 -2
  4. package/dist/agent-loop.d.ts +2 -2
  5. package/dist/agent-loop.js +2 -2
  6. package/dist/analytics.d.ts +2 -2
  7. package/dist/analytics.js +2 -2
  8. package/dist/audit.d.ts +2 -2
  9. package/dist/audit.js +2 -2
  10. package/dist/auto-orchestrator.d.ts +2 -2
  11. package/dist/auto-orchestrator.js +2 -2
  12. package/dist/autoconfig.d.ts +2 -2
  13. package/dist/autoconfig.js +2 -2
  14. package/dist/buddy.d.ts +2 -2
  15. package/dist/buddy.js +2 -2
  16. package/dist/capabilities.d.ts +2 -2
  17. package/dist/capabilities.js +2 -2
  18. package/dist/capture.d.ts +2 -2
  19. package/dist/capture.js +2 -2
  20. package/dist/causality.d.ts +2 -2
  21. package/dist/causality.js +2 -2
  22. package/dist/cli.d.ts +2 -2
  23. package/dist/cli.js +2 -2
  24. package/dist/cloud-backup.d.ts +2 -2
  25. package/dist/cloud-backup.js +2 -2
  26. package/dist/cloud-sync-entrypoint.d.ts +2 -2
  27. package/dist/cloud-sync-entrypoint.js +2 -2
  28. package/dist/cloud-sync.d.ts +2 -2
  29. package/dist/cloud-sync.js +2 -2
  30. package/dist/constellation.d.ts +2 -2
  31. package/dist/constellation.js +2 -2
  32. package/dist/context-ranking.d.ts +2 -2
  33. package/dist/context-ranking.js +2 -2
  34. package/dist/crypto.d.ts +2 -2
  35. package/dist/crypto.js +2 -2
  36. package/dist/database.d.ts +2 -2
  37. package/dist/database.js +2 -2
  38. package/dist/design.d.ts +2 -2
  39. package/dist/design.js +2 -2
  40. package/dist/event-replication.d.ts +2 -2
  41. package/dist/event-replication.js +2 -2
  42. package/dist/events-sse.d.ts +2 -2
  43. package/dist/events-sse.js +2 -2
  44. package/dist/events.js +2 -2
  45. package/dist/failure-patterns.d.ts +2 -2
  46. package/dist/failure-patterns.js +2 -2
  47. package/dist/federation.d.ts +2 -2
  48. package/dist/federation.js +2 -2
  49. package/dist/goals.d.ts +2 -2
  50. package/dist/goals.js +2 -2
  51. package/dist/harvest.d.ts +2 -2
  52. package/dist/harvest.js +2 -2
  53. package/dist/hours.d.ts +2 -2
  54. package/dist/hours.js +2 -2
  55. package/dist/http-auth.d.ts +2 -2
  56. package/dist/http-auth.js +2 -2
  57. package/dist/http-server.d.ts +2 -2
  58. package/dist/http-server.js +2 -2
  59. package/dist/icons.d.ts +2 -2
  60. package/dist/icons.js +2 -2
  61. package/dist/index.d.ts +2 -2
  62. package/dist/index.js +2 -2
  63. package/dist/indexer.d.ts +2 -2
  64. package/dist/indexer.js +2 -2
  65. package/dist/intelligence.d.ts +2 -2
  66. package/dist/intelligence.js +2 -2
  67. package/dist/knowledge-graph.d.ts +2 -2
  68. package/dist/knowledge-graph.js +2 -2
  69. package/dist/license.d.ts +2 -2
  70. package/dist/license.js +2 -2
  71. package/dist/logger.d.ts +2 -2
  72. package/dist/logger.js +2 -2
  73. package/dist/mcp-client.d.ts +2 -2
  74. package/dist/mcp-client.js +2 -2
  75. package/dist/memory-artifacts.d.ts +2 -2
  76. package/dist/memory-artifacts.js +2 -2
  77. package/dist/migrate-prompt.d.ts +2 -2
  78. package/dist/migrate-prompt.js +2 -2
  79. package/dist/migrations.d.ts +2 -2
  80. package/dist/migrations.js +2 -2
  81. package/dist/presence.d.ts +2 -2
  82. package/dist/presence.js +2 -2
  83. package/dist/priority-embed.d.ts +2 -2
  84. package/dist/priority-embed.js +2 -2
  85. package/dist/providers/embedding-provider.d.ts +2 -2
  86. package/dist/providers/embedding-provider.js +2 -2
  87. package/dist/rehydration.d.ts +2 -2
  88. package/dist/rehydration.js +2 -2
  89. package/dist/repl-guard.d.ts +2 -2
  90. package/dist/repl-guard.js +2 -2
  91. package/dist/replication-daemon-entrypoint.d.ts +2 -2
  92. package/dist/replication-daemon-entrypoint.js +2 -2
  93. package/dist/replication-daemon.d.ts +2 -2
  94. package/dist/replication-daemon.js +2 -2
  95. package/dist/resilience.d.ts +2 -2
  96. package/dist/resilience.js +2 -2
  97. package/dist/security.d.ts +2 -2
  98. package/dist/security.js +2 -2
  99. package/dist/session-seen.d.ts +2 -2
  100. package/dist/session-seen.js +2 -2
  101. package/dist/setup.d.ts +2 -2
  102. package/dist/setup.js +2 -2
  103. package/dist/skill-author.d.ts +2 -2
  104. package/dist/skill-author.js +2 -2
  105. package/dist/statusline.d.ts +2 -2
  106. package/dist/statusline.js +2 -2
  107. package/dist/sub-agent.d.ts +2 -2
  108. package/dist/sub-agent.js +2 -2
  109. package/dist/symbols.d.ts +2 -2
  110. package/dist/symbols.js +2 -2
  111. package/dist/sync.d.ts +2 -2
  112. package/dist/sync.js +2 -2
  113. package/dist/token-budget.d.ts +2 -2
  114. package/dist/token-budget.js +2 -2
  115. package/dist/tool-analytics.d.ts +2 -2
  116. package/dist/tool-analytics.js +2 -2
  117. package/dist/tool-profiles.d.ts +2 -2
  118. package/dist/tool-profiles.js +2 -2
  119. package/dist/types.d.ts +2 -2
  120. package/dist/types.js +2 -2
  121. package/dist/ui-dashboard.d.ts +2 -2
  122. package/dist/ui-dashboard.js +2 -2
  123. package/dist/vectors.d.ts +2 -2
  124. package/dist/vectors.js +2 -2
  125. package/dist/version-check.d.ts +2 -2
  126. package/dist/version-check.js +2 -2
  127. package/dist/visibility.d.ts +2 -2
  128. package/dist/visibility.js +2 -2
  129. package/dist/wyrm-cli.d.ts +2 -2
  130. package/dist/wyrm-cli.js +2 -2
  131. package/dist/wyrm-loop.d.ts +1 -1
  132. package/dist/wyrm-loop.js +1 -1
  133. package/dist/wyrm-statusline-daemon.d.ts +1 -1
  134. package/dist/wyrm-statusline-daemon.js +1 -1
  135. package/dist/wyrm-statusline.d.ts +1 -1
  136. package/dist/wyrm-statusline.js +1 -1
  137. package/dist/wyrm-ui.d.ts +2 -2
  138. package/dist/wyrm-ui.js +2 -2
  139. package/package.json +2 -2
package/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  > Your AI doesn't just need memory. It needs the *layer* that turns memory into compounding leverage.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/wyrm-mcp?color=00B89F&label=npm)](https://www.npmjs.com/package/wyrm-mcp)
6
- [![License: Proprietary](https://img.shields.io/badge/License-Proprietary%20Freeware-00B89F.svg)](LICENSE)
7
- [![Tests](https://img.shields.io/badge/tests-699%20passing-00B89F)](packages/mcp-server)
6
+ [![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL--3.0-00B89F.svg)](LICENSE)
7
+ [![Tests](https://img.shields.io/badge/tests-841%20passing-00B89F)](packages/mcp-server)
8
8
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.9-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
9
9
  [![MCP](https://img.shields.io/badge/MCP-compatible-00B89F)](https://modelcontextprotocol.io)
10
10
 
@@ -483,9 +483,12 @@ Found a vulnerability? Please open an issue or email security@ghosts.lk.
483
483
 
484
484
  ## License
485
485
 
486
- [AGPL-3.0](LICENSE) Copyright © 2024-2026 [Ghost Protocol (Pvt) Ltd](https://ghosts.lk)
486
+ **Open standard + protected implementation:**
487
487
 
488
- For commercial licensing (e.g. embedding Wyrm in proprietary products), contact [ghosts.lk@proton.me](mailto:ghosts.lk@proton.me).
488
+ - **The Wyrm Memory Protocol** ([`PROTOCOL.md`](../../PROTOCOL.md)) is an **open spec, freely implementable** by anyone (CC-BY-4.0) — build a WMP-compatible memory without touching Wyrm's code.
489
+ - **This implementation** (`wyrm-mcp`) is **[AGPL-3.0-or-later](LICENSE)** — Copyright © 2024-2026 [Ghost Protocol (Pvt) Ltd](https://ghosts.lk).
490
+
491
+ For a **commercial license** (embedding Wyrm in a closed product, or running it as a managed service without AGPL's source-sharing obligations), contact [ghosts.lk@proton.me](mailto:ghosts.lk@proton.me).
489
492
 
490
493
  ---
491
494
 
@@ -15,8 +15,8 @@
15
15
  * alive, `start()` refuses (no fork-bomb). `restart()` is provided as
16
16
  * an explicit operation.
17
17
  *
18
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
19
- * @license Proprietary
18
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
19
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
20
20
  */
21
21
  import type Database from 'better-sqlite3';
22
22
  export interface DaemonStatus {
@@ -15,8 +15,8 @@
15
15
  * alive, `start()` refuses (no fork-bomb). `restart()` is provided as
16
16
  * an explicit operation.
17
17
  *
18
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
19
- * @license Proprietary
18
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
19
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
20
20
  */
21
21
  import { spawn } from 'child_process';
22
22
  import { existsSync, readFileSync, writeFileSync, statSync, openSync, closeSync, renameSync, unlinkSync, mkdirSync } from 'fs';
@@ -26,8 +26,8 @@
26
26
  * {"thought":"...","action":"done","summary":"..."} or
27
27
  * {"thought":"...","action":"block","reason":"..."}
28
28
  *
29
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
30
- * @license Proprietary
29
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
30
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
31
31
  */
32
32
  import type Database from 'better-sqlite3';
33
33
  import { OutboundMcpClient } from './mcp-client.js';
@@ -26,8 +26,8 @@
26
26
  * {"thought":"...","action":"done","summary":"..."} or
27
27
  * {"thought":"...","action":"block","reason":"..."}
28
28
  *
29
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
30
- * @license Proprietary
29
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
30
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
31
31
  */
32
32
  import { Goals } from './goals.js';
33
33
  import { SubAgent } from './sub-agent.js';
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm Analytics — Persistent Usage Tracking & Cost Monitoring
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  * @module analytics
7
7
  * @version 3.2.0
8
8
  */
package/dist/analytics.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm Analytics — Persistent Usage Tracking & Cost Monitoring
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  * @module analytics
7
7
  * @version 3.2.0
8
8
  */
package/dist/audit.d.ts CHANGED
@@ -13,8 +13,8 @@
13
13
  * 2. Verify Ed25519 signatures against the operator's public key.
14
14
  * 3. Confirm no gaps in IDs.
15
15
  *
16
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
17
- * @license Proprietary
16
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
17
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
18
18
  */
19
19
  import type Database from 'better-sqlite3';
20
20
  export interface AuditEntry {
package/dist/audit.js CHANGED
@@ -13,8 +13,8 @@
13
13
  * 2. Verify Ed25519 signatures against the operator's public key.
14
14
  * 3. Confirm no gaps in IDs.
15
15
  *
16
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
17
- * @license Proprietary
16
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
17
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
18
18
  */
19
19
  import { createHash } from 'crypto';
20
20
  const GENESIS_HASH = 'genesis';
@@ -10,8 +10,8 @@
10
10
  * - Task Decomposition: Large features via subtasks + parallel execution
11
11
  * - Verification: High-risk code changes via multi-angle review
12
12
  *
13
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
14
- * @license Proprietary - See LICENSE file for details.
13
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
14
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
15
15
  */
16
16
  export type TaskType = 'decision' | 'generation' | 'research' | 'verification' | 'decomposition';
17
17
  export interface ClassifiedTask {
@@ -10,8 +10,8 @@
10
10
  * - Task Decomposition: Large features via subtasks + parallel execution
11
11
  * - Verification: High-risk code changes via multi-angle review
12
12
  *
13
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
14
- * @license Proprietary - See LICENSE file for details.
13
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
14
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
15
15
  */
16
16
  /**
17
17
  * Classify incoming task based on multiple signals
@@ -5,8 +5,8 @@
5
5
  * Cursor, Windsurf, Zed, etc.) and configures Wyrm's MCP server in each.
6
6
  * Handles provider switching seamlessly — change your AI, Wyrm follows.
7
7
  *
8
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
9
- * @license Proprietary - See LICENSE file for details.
8
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
9
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
10
10
  * @module autoconfig
11
11
  * @version 3.0.0
12
12
  */
@@ -5,8 +5,8 @@
5
5
  * Cursor, Windsurf, Zed, etc.) and configures Wyrm's MCP server in each.
6
6
  * Handles provider switching seamlessly — change your AI, Wyrm follows.
7
7
  *
8
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
9
- * @license Proprietary - See LICENSE file for details.
8
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
9
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
10
10
  * @module autoconfig
11
11
  * @version 3.0.0
12
12
  */
package/dist/buddy.d.ts CHANGED
@@ -10,8 +10,8 @@
10
10
  * `buddy_*` is queried via `wyrm_call_external` and its output is
11
11
  * folded into the response.
12
12
  *
13
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
14
- * @license Proprietary
13
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
14
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
15
15
  */
16
16
  import type Database from 'better-sqlite3';
17
17
  export type BuddyMood = 'normal' | 'celebratory' | 'stuck' | 'quiet';
package/dist/buddy.js CHANGED
@@ -10,8 +10,8 @@
10
10
  * `buddy_*` is queried via `wyrm_call_external` and its output is
11
11
  * folded into the response.
12
12
  *
13
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
14
- * @license Proprietary
13
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
14
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
15
15
  */
16
16
  import { ICON } from './icons.js';
17
17
  // ---------------------------------------------------------------------------
@@ -10,8 +10,8 @@
10
10
  * Also used as the body of the `wyrm_capabilities` MCP tool, the
11
11
  * `wyrm_inject_prompt` block, and the postinstall pitch.
12
12
  *
13
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
14
- * @license Proprietary
13
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
14
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
15
15
  */
16
16
  import type Database from 'better-sqlite3';
17
17
  export interface CapabilityFeature {
@@ -10,8 +10,8 @@
10
10
  * Also used as the body of the `wyrm_capabilities` MCP tool, the
11
11
  * `wyrm_inject_prompt` block, and the postinstall pitch.
12
12
  *
13
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
14
- * @license Proprietary
13
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
14
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
15
15
  */
16
16
  import { homedir } from 'os';
17
17
  import { join, dirname } from 'path';
package/dist/capture.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm Capture Helpers — Classification logic for unified auto-capture.
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  */
7
7
  export type CaptureType = 'quest' | 'truth' | 'memory';
8
8
  export interface ClassifyResult {
package/dist/capture.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm Capture Helpers — Classification logic for unified auto-capture.
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  */
7
7
  /**
8
8
  * Classify a piece of content into quest/truth/memory using heuristic patterns.
@@ -9,8 +9,8 @@
9
9
  * ground truth flips to stale or gets superseded, the invalidation
10
10
  * cascade walks the edge graph and flags downstream decisions.
11
11
  *
12
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
13
- * @license Proprietary
12
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
13
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
14
14
  */
15
15
  import type Database from 'better-sqlite3';
16
16
  export type EdgeKind = 'truth' | 'artifact' | 'quest' | 'session' | 'data';
package/dist/causality.js CHANGED
@@ -9,8 +9,8 @@
9
9
  * ground truth flips to stale or gets superseded, the invalidation
10
10
  * cascade walks the edge graph and flags downstream decisions.
11
11
  *
12
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
13
- * @license Proprietary
12
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
13
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
14
14
  */
15
15
  import { emitEvent } from './events.js';
16
16
  export class Causality {
package/dist/cli.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm CLI - Beautiful command-line interface
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  * @module cli
7
7
  * @version 3.0.0
8
8
  */
package/dist/cli.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm CLI - Beautiful command-line interface
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  * @module cli
7
7
  * @version 3.0.0
8
8
  */
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm Cloud Backup — Encrypted backup/restore to Cloudflare R2
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  * @module cloud-backup
7
7
  * @version 3.2.0
8
8
  */
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm Cloud Backup — Encrypted backup/restore to Cloudflare R2
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  * @module cloud-backup
7
7
  * @version 3.2.0
8
8
  */
@@ -11,8 +11,8 @@
11
11
  * argv[2] = interval_ms
12
12
  * argv[3] = keep_count
13
13
  *
14
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
15
- * @license Proprietary
14
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
15
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
16
16
  */
17
17
  export {};
18
18
  //# sourceMappingURL=cloud-sync-entrypoint.d.ts.map
@@ -11,8 +11,8 @@
11
11
  * argv[2] = interval_ms
12
12
  * argv[3] = keep_count
13
13
  *
14
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
15
- * @license Proprietary
14
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
15
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
16
16
  */
17
17
  import { WyrmCloudBackup } from './cloud-backup.js';
18
18
  import { CloudSyncDaemon, DEFAULT_INTERVAL_MS, DEFAULT_KEEP_COUNT, DEFAULT_DB_PATH } from './cloud-sync.js';
@@ -8,8 +8,8 @@
8
8
  *
9
9
  * Architecture is documented in docs/CLOUD-SYNC.md.
10
10
  *
11
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
12
- * @license Proprietary
11
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
12
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
13
13
  */
14
14
  import type { WyrmCloudBackup } from './cloud-backup.js';
15
15
  declare const DEFAULT_DB_PATH: string;
@@ -8,8 +8,8 @@
8
8
  *
9
9
  * Architecture is documented in docs/CLOUD-SYNC.md.
10
10
  *
11
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
12
- * @license Proprietary
11
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
12
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
13
13
  */
14
14
  import { spawn } from 'child_process';
15
15
  import { existsSync, readFileSync, writeFileSync, statSync, mkdirSync, openSync, closeSync, unlinkSync, renameSync, } from 'fs';
@@ -11,8 +11,8 @@
11
11
  * migration 14, default `'within'`). Only artifacts explicitly flagged
12
12
  * `'org'` or `'public'` leak across the project boundary.
13
13
  *
14
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
15
- * @license Proprietary
14
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
15
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
16
16
  */
17
17
  import type Database from 'better-sqlite3';
18
18
  export type ConstellationKind = 'truth' | 'artifact' | 'quest' | 'decision' | 'reference';
@@ -11,8 +11,8 @@
11
11
  * migration 14, default `'within'`). Only artifacts explicitly flagged
12
12
  * `'org'` or `'public'` leak across the project boundary.
13
13
  *
14
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
15
- * @license Proprietary
14
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
15
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
16
16
  */
17
17
  const SAFE_KINDS = new Set(['truth', 'artifact', 'quest', 'decision', 'reference']);
18
18
  const SAFE_VIS = new Set(['within', 'org', 'public']);
@@ -7,8 +7,8 @@
7
7
  *
8
8
  * Weights load from WYRM_RANK_WEIGHTS env (JSON) with sane defaults.
9
9
  *
10
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
11
- * @license Proprietary
10
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
11
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
12
12
  */
13
13
  export interface RankWeights {
14
14
  confidence: number;
@@ -7,8 +7,8 @@
7
7
  *
8
8
  * Weights load from WYRM_RANK_WEIGHTS env (JSON) with sane defaults.
9
9
  *
10
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
11
- * @license Proprietary
10
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
11
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
12
12
  */
13
13
  import { logger } from './logger.js';
14
14
  export const DEFAULT_WEIGHTS = {
package/dist/crypto.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * Wyrm Encryption Module
3
3
  * AES-256-GCM encryption for sensitive memory data
4
4
  *
5
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
6
- * @license Proprietary - See LICENSE file for details.
5
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
6
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
7
7
  * @module crypto
8
8
  * @version 3.0.0
9
9
  */
package/dist/crypto.js CHANGED
@@ -2,8 +2,8 @@
2
2
  * Wyrm Encryption Module
3
3
  * AES-256-GCM encryption for sensitive memory data
4
4
  *
5
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
6
- * @license Proprietary - See LICENSE file for details.
5
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
6
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
7
7
  * @module crypto
8
8
  * @version 3.0.0
9
9
  */
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm Database - SQLite storage for infinite memory with data lake support
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  *
7
7
  * Features:
8
8
  * - Auto-discovers projects in configured directories
package/dist/database.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Wyrm Database - SQLite storage for infinite memory with data lake support
3
3
  *
4
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
5
- * @license Proprietary - See LICENSE file for details.
4
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
5
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
6
6
  *
7
7
  * Features:
8
8
  * - Auto-discovers projects in configured directories
package/dist/design.d.ts CHANGED
@@ -10,8 +10,8 @@
10
10
  * with tags, so a designer accreting visual references over time has a
11
11
  * searchable library.
12
12
  *
13
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
14
- * @license Proprietary
13
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
14
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
15
15
  */
16
16
  import type Database from 'better-sqlite3';
17
17
  export type TokenCategory = 'color' | 'type' | 'spacing' | 'motion' | 'shadow' | 'radius' | 'breakpoint' | 'custom';
package/dist/design.js CHANGED
@@ -10,8 +10,8 @@
10
10
  * with tags, so a designer accreting visual references over time has a
11
11
  * searchable library.
12
12
  *
13
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
14
- * @license Proprietary
13
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
14
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
15
15
  */
16
16
  const VALID_CATEGORIES = new Set([
17
17
  'color', 'type', 'spacing', 'motion', 'shadow', 'radius', 'breakpoint', 'custom',
@@ -15,8 +15,8 @@
15
15
  * The DB dependency is a structural interface (`ReplDb`) and `fetch` is injected,
16
16
  * so this whole module is unit-testable with a fake peer and no real sockets.
17
17
  *
18
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
19
- * @license Proprietary - See LICENSE file for details.
18
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
19
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
20
20
  */
21
21
  import type { WyrmEvent, RemoteEvent, IngestResult } from './events.js';
22
22
  /** The slice of WyrmDB this module needs — structural, so tests can fake it. */
@@ -15,8 +15,8 @@
15
15
  * The DB dependency is a structural interface (`ReplDb`) and `fetch` is injected,
16
16
  * so this whole module is unit-testable with a fake peer and no real sockets.
17
17
  *
18
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
19
- * @license Proprietary - See LICENSE file for details.
18
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
19
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
20
20
  */
21
21
  import { logger } from './logger.js';
22
22
  import { guardedFetchJson, checkPeerUrl } from './repl-guard.js';
@@ -5,8 +5,8 @@
5
5
  * unit-tested in isolation: importing `http-fast.ts` runs its top-level
6
6
  * `new WyrmDB()` and would open the real ~/.wyrm/wyrm.db at module load.
7
7
  *
8
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
9
- * @license Proprietary - See LICENSE file for details.
8
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
9
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
10
10
  */
11
11
  export interface SseEventLike {
12
12
  cursor: number;
@@ -5,8 +5,8 @@
5
5
  * unit-tested in isolation: importing `http-fast.ts` runs its top-level
6
6
  * `new WyrmDB()` and would open the real ~/.wyrm/wyrm.db at module load.
7
7
  *
8
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
9
- * @license Proprietary - See LICENSE file for details.
8
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
9
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
10
10
  */
11
11
  /**
12
12
  * Serialize one event as an SSE frame. The `id:` line is the event cursor, so a
package/dist/events.js CHANGED
@@ -14,8 +14,8 @@
14
14
  * or private rows are reference-only (`payload_json = NULL`) so the event log
15
15
  * never becomes a copy of data the encryption/federation layer protects.
16
16
  *
17
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
18
- * @license Proprietary - See LICENSE file for details.
17
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
18
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
19
19
  */
20
20
  import { randomUUID } from 'node:crypto';
21
21
  import { hostname } from 'node:os';
@@ -9,8 +9,8 @@
9
9
  * coalesce — re-recording the same failure increments `occurrences`
10
10
  * rather than creating a new row.
11
11
  *
12
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
13
- * @license Proprietary
12
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
13
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
14
14
  */
15
15
  import type Database from 'better-sqlite3';
16
16
  export type FailureScope = 'file' | 'symbol' | 'command' | 'prompt' | 'edit';
@@ -9,8 +9,8 @@
9
9
  * coalesce — re-recording the same failure increments `occurrences`
10
10
  * rather than creating a new row.
11
11
  *
12
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
13
- * @license Proprietary
12
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
13
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
14
14
  */
15
15
  import { sanitizeFtsQuery } from './security.js';
16
16
  import { emitEvent } from './events.js';
@@ -16,8 +16,8 @@
16
16
  * resolve. Last-write-wins is the failure mode of every team sync tool;
17
17
  * Wyrm refuses to silently lose work.
18
18
  *
19
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
20
- * @license Proprietary
19
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
20
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
21
21
  */
22
22
  import type Database from 'better-sqlite3';
23
23
  export type SyncableKind = 'session' | 'quest' | 'truth' | 'artifact' | 'edge';
@@ -16,8 +16,8 @@
16
16
  * resolve. Last-write-wins is the failure mode of every team sync tool;
17
17
  * Wyrm refuses to silently lose work.
18
18
  *
19
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
20
- * @license Proprietary
19
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
20
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
21
21
  */
22
22
  const KIND_TO_TABLE = {
23
23
  session: { table: 'sessions', ts: 'created_at' },
package/dist/goals.d.ts CHANGED
@@ -11,8 +11,8 @@
11
11
  * unresolvable objectives. `success_criteria` is the operator-defined
12
12
  * "done when X" — the LLM checks against it each iteration.
13
13
  *
14
- * @copyright 2026 Ghost Protocol (Pvt) Ltd. All Rights Reserved.
15
- * @license Proprietary
14
+ * @copyright 2024-2026 Ghost Protocol (Pvt) Ltd.
15
+ * @license AGPL-3.0-or-later — dual-licensed; commercial terms: ghosts.lk@proton.me. See LICENSE.
16
16
  */
17
17
  import type Database from 'better-sqlite3';
18
18
  export type GoalStatus = 'active' | 'paused' | 'completed' | 'abandoned';