ctxmaster 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.
- package/LICENSE +21 -0
- package/README.md +22 -0
- package/index.js +26 -0
- package/package.json +38 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Muntaser Syed
|
|
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.
|
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ctxmaster
|
|
2
|
+
|
|
3
|
+
Visualization layer for tokenmaster, the core context-budget metering and
|
|
4
|
+
decision engine for LLM applications. ctxmaster will provide the user-facing
|
|
5
|
+
surfaces: a CLI, a live terminal gauge (context used, effective budget
|
|
6
|
+
remaining, projected turns to exhaustion, compaction and handoff advice), and
|
|
7
|
+
dashboard renderers. It consumes the serializable state and event schema that
|
|
8
|
+
tokenmaster emits; anyone can build an alternative visualizer against the
|
|
9
|
+
same contract.
|
|
10
|
+
|
|
11
|
+
This npm package is published in parallel with the Python package of the same
|
|
12
|
+
name on PyPI, with a Rust crate to follow.
|
|
13
|
+
|
|
14
|
+
## Status
|
|
15
|
+
|
|
16
|
+
0.0.1 is a placeholder release reserving the name while the core API is
|
|
17
|
+
designed. Do not build against it yet. Development happens at
|
|
18
|
+
https://github.com/jemsbhai/tokenmaster
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
MIT
|
package/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* ctxmaster: visualization layer for tokenmaster.
|
|
5
|
+
*
|
|
6
|
+
* Placeholder release (0.0.1) reserving the package name while the core API
|
|
7
|
+
* is designed. Do not build against this version.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
const tokenmaster = require('tokenmaster');
|
|
11
|
+
|
|
12
|
+
const version = '0.0.1';
|
|
13
|
+
|
|
14
|
+
function about() {
|
|
15
|
+
return {
|
|
16
|
+
name: 'ctxmaster',
|
|
17
|
+
version,
|
|
18
|
+
summary:
|
|
19
|
+
'Visualization layer for tokenmaster: CLI, terminal gauge, and dashboard renderers.',
|
|
20
|
+
core: `tokenmaster ${tokenmaster.version}`,
|
|
21
|
+
repository: 'https://github.com/jemsbhai/tokenmaster',
|
|
22
|
+
status: 'placeholder',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
module.exports = { version, about };
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ctxmaster",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Visualization layer for tokenmaster: CLI, terminal gauge, and dashboard renderers for LLM context-budget metering. Placeholder release.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"index.js"
|
|
8
|
+
],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"test": "node --test"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"llm",
|
|
14
|
+
"tokens",
|
|
15
|
+
"context-window",
|
|
16
|
+
"visualization",
|
|
17
|
+
"terminal",
|
|
18
|
+
"gauge",
|
|
19
|
+
"dashboard"
|
|
20
|
+
],
|
|
21
|
+
"author": "Muntaser Syed <jemsbhai@gmail.com>",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=18"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"tokenmaster": "^0.0.1"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/jemsbhai/tokenmaster.git",
|
|
32
|
+
"directory": "js/ctxmaster"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/jemsbhai/tokenmaster/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/jemsbhai/tokenmaster#readme"
|
|
38
|
+
}
|