lua: scaffold package with rockspec and LICENSE
Swadhin Biswas committed 7 months ago
8d47a77
1 parent 5d1bbbd
commit 8d47a77
2 files changed
+56 -0
Showing 2 changed files+56-0
▼LUA/LICENSE
+21-0
| @@ -0,0 +1,21 @@ | ||
1 | +MIT License | |
2 | + | |
3 | +Copyright (c) 2025 Swadhin Biswas | |
4 | + | |
5 | +Permission is hereby granted, free of charge, to any person obtaining a copy | |
6 | +of this software and associated documentation files (the "Software"), to deal | |
7 | +in the Software without restriction, including without limitation the rights | |
8 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
9 | +copies of the Software, and to permit persons to whom the Software is | |
10 | +furnished to do so, subject to the following conditions: | |
11 | + | |
12 | +The above copyright notice and this permission notice shall be included in all | |
13 | +copies or substantial portions of the Software. | |
14 | + | |
15 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
16 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
17 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
18 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
19 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
20 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
21 | +SOFTWARE. | |
0 | 22 | |
▼LUA/contexa-0.1.1-1.rockspec
+35-0
| @@ -0,0 +1,35 @@ | ||
1 | +package = "contexa" | |
2 | +version = "0.1.1-1" | |
3 | + | |
4 | +source = { | |
5 | + url = "git+https://github.com/swadhinbiswas/contexa.git", | |
6 | + tag = "v0.1.1", | |
7 | + dir = "LUA", | |
8 | +} | |
9 | + | |
10 | +description = { | |
11 | + summary = "Git-inspired context management for LLM agents", | |
12 | + detailed = [[ | |
13 | + contexa implements COMMIT, BRANCH, MERGE, and CONTEXT operations | |
14 | + over a persistent versioned memory workspace for LLM agents. | |
15 | + Based on the paper "Git Context Controller" (arXiv:2508.00031). | |
16 | + ]], | |
17 | + homepage = "https://github.com/swadhinbiswas/contexa", | |
18 | + license = "MIT", | |
19 | + maintainer = "Swadhin Biswas <[email protected]>", | |
20 | + labels = { "llm", "agent", "context-management", "git", "memory" }, | |
21 | +} | |
22 | + | |
23 | +dependencies = { | |
24 | + "lua >= 5.1", | |
25 | + "luafilesystem >= 1.8", | |
26 | +} | |
27 | + | |
28 | +build = { | |
29 | + type = "builtin", | |
30 | + modules = { | |
31 | + ["contexa"] = "contexa/init.lua", | |
32 | + ["contexa.models"] = "contexa/models.lua", | |
33 | + ["contexa.workspace"] = "contexa/workspace.lua", | |
34 | + }, | |
35 | +} | |
0 | 36 | |