Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ header:
license:
spdx-id: Datalayer
copyright-owner: Datalayer, Inc.
copyright-year: 2023-2025
copyright-year: ''
content: |
Copyright (c) [year] [owner]
Copyright (c) 2025-[year] [owner]
Distributed under the terms of the MIT License.

paths-ignore:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

# Copyright (c) Datalayer, Inc. https://datalayer.io
Expand Down
2 changes: 1 addition & 1 deletion __tests__/setup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion __tests__/test_BigLoroDoc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion __tests__/test_LexicalNodeData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion __tests__/test_LoroDoc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion dev/debug-offset.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion dev/debug/debug_container_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.


Expand Down
2 changes: 1 addition & 1 deletion dev/debug/debug_loro_updates.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.


Expand Down
2 changes: 1 addition & 1 deletion dev/debug/fix_broadcast_method.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion dev/debug/investigate_loro.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.


Expand Down
2 changes: 1 addition & 1 deletion dev/debug/showcase_loro_model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion dev/debug_ephemeral_integration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion dev/debug_loro_api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion dev/debug_loro_map.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion dev/debug_mcp_comprehensive.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion dev/debug_tree.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion dev/debug_tree_structure.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion dev/debug_websocket_integration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion dev/node-server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion dev/simple_server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion esm/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2025 Datalayer, Inc.
~ Copyright (c) 2025-2026 Datalayer, Inc.
~ Distributed under the terms of the MIT License.
-->

Expand Down
2 changes: 1 addition & 1 deletion esm/index.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion esm/prepopulatedRichText.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion esm/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/collaboration_example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion examples/file_sync_example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion examples/loro_model_example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion examples/memory_only_example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2025 Datalayer, Inc.
~ Copyright (c) 2025-2026 Datalayer, Inc.
~ Distributed under the terms of the MIT License.
-->

Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

class Client:
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/mcp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/mcp/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""Main entry point for the tree-based MCP server."""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/mcp/server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/model/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

from .lexical_loro import LoroTreeModel, TreeEventType
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/model/document_manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/model/lexical_converter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/model/lexical_loro.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/model/node_mapper.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/websocket/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""WebSocket server module for tree-based collaboration."""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/websocket/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.

"""Main entry point for the tree-based WebSocket server."""
Expand Down
2 changes: 1 addition & 1 deletion lexical_loro/websocket/server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2023-2025 Datalayer, Inc.
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the MIT License.


Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"scripts": {
"build": "tsc -b && vite build",
"dev": "cross-env NODE_ENV=development concurrently \"npm:server:py:ws\" \"npm:server:py:mcp\" \"vite --host --port 3000\"",
"build:tsc": "tsc",
"build:lib": "tsc",
"build:dev": "vite build",
"build:prod": "vite build --mode production",
Comment on lines +31 to 33
"server:loro": "fkill -s :1235 && cross-env HOST=localhost PORT=1235 YPERSISTENCE=./.wss-loro tsx src/collab/loro/servers/ws/server.ts",
Expand Down Expand Up @@ -60,7 +60,7 @@
"test:py:watch": "python3 -m pytest tests/ -v --tb=short -f"
},
"dependencies": {
"@datalayer/primer-addons": "^1.0.8",
"@datalayer/primer-addons": "^1.0.12",
"@floating-ui/react": "^0.27.8",
"@lexical/clipboard": "^0.35.0",
"@lexical/code": "^0.35.0",
Expand Down
2 changes: 1 addition & 1 deletion split/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023-2025 Datalayer, Inc.
~ Copyright (c) 2025-2026 Datalayer, Inc.
~ Distributed under the terms of the MIT License.
-->

Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion src/Editor.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion src/Settings.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion src/appSettings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion src/collab/loro/Bindings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion src/collab/loro/Debug.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
2 changes: 1 addition & 1 deletion src/collab/loro/LexicalCollaborationContext.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2025 Datalayer, Inc.
* Copyright (c) 2025-2026 Datalayer, Inc.
* Distributed under the terms of the MIT License.
*/

Expand Down
Loading
Loading