mediaxg 0.0.0-stage → 2.0.0

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 mediaXG contributors
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 CHANGED
@@ -1,3 +1,64 @@
1
- # Temporary Holding Version
1
+ # mediaXG
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
+ Premium terminal-based AI coding agent with multi-provider support, streaming, reasoning controls, Plan/Build modes, native coding tools, Skills, MCP, session persistence, and transparent cost controls.
4
+
5
+ ## Features
6
+
7
+ - **Multi-provider support**: OpenAI-compatible, Anthropic-compatible, xKiro
8
+ - **Real streaming**: Genuine incremental streaming with reasoning controls
9
+ - **Plan/Build/Review modes**: Mode-based workflow with appropriate permissions
10
+ - **Native coding tools**: File operations, search, diff, process execution
11
+ - **Attachments**: Queue workspace text files and PNG/JPEG/WebP images in the TUI with `/attach`, or send one with `/attach <path> [question...]`
12
+ - **Skills system**: Agent Skills convention with discovery and activation
13
+ - **MCP support**: Streamable HTTP and stdio transports
14
+ - **Session persistence**: Versioned JSON store with search, resume, export
15
+ - **Context management**: Requested budgets up to 5M tokens — always clamped by real model/provider limits, with assembly provenance, retrieval, and compaction
16
+ - **Budget controls**: Usage tracking, pricing, spending limits
17
+ - **Security**: Environment/file credential storage, permission engine, path traversal prevention
18
+ - **Session automation**: `/auto true` skips consequential-action prompts for the current app session; deny rules, read-only modes, and workspace guards still apply
19
+
20
+ ## Installation
21
+
22
+ Requires Bun 1.1 or newer. Install the CLI from npm:
23
+
24
+ ```bash
25
+ npm install --global mediaxg
26
+ mediaxg
27
+ ```
28
+
29
+ To develop from source, clone the repository and run `bun install`.
30
+
31
+ ## Development
32
+
33
+ ```bash
34
+ bun run dev
35
+ ```
36
+
37
+ ## Build
38
+
39
+ ```bash
40
+ bun run build
41
+ ```
42
+
43
+ ## Testing
44
+
45
+ ```bash
46
+ bun test
47
+ ```
48
+
49
+ ## Configuration
50
+
51
+ Configuration is stored in:
52
+
53
+ - Project: `.mediaxg/config.json`
54
+ - User: `~/.config/mediaxg/config.json`
55
+
56
+ Credentials resolve from environment variables first, then the local file
57
+ `~/.config/mediaxg/credentials.json` (mode `0600` where supported). The file
58
+ store is not encrypted; OS keychain integration is not currently implemented.
59
+ For MCP, use `/mcp auth <name> --key-env=ENV_VAR` so the secret itself never
60
+ appears in the command line.
61
+
62
+ ## License
63
+
64
+ MIT