@matheuskrumenauer/tanya 0.2.0-beta.0 → 0.4.0-beta.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/README.md +31 -0
- package/dist/cli.js +1678 -577
- package/dist/cli.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -38,6 +38,16 @@ npm install -g @matheuskrumenauer/tanya
|
|
|
38
38
|
|
|
39
39
|
The unscoped `tanya` name is taken on npm, so the package publishes under the `@matheuskrumenauer` scope.
|
|
40
40
|
|
|
41
|
+
Docker/container installs that cannot infer platform metadata may need npm
|
|
42
|
+
platform flags for Tanya's image tooling dependency:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npm install -g --os=linux --cpu=arm64 --libc=glibc @matheuskrumenauer/tanya
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Use `--cpu=amd64` on x64 containers. Tracking issue:
|
|
49
|
+
https://github.com/matheusjkweber/tanya/issues/9.
|
|
50
|
+
|
|
41
51
|
## Contributing
|
|
42
52
|
|
|
43
53
|
Start with [CONTRIBUTING.md](./CONTRIBUTING.md) for local setup, tool and
|
|
@@ -130,6 +140,27 @@ tanya providers test # provider smoke test
|
|
|
130
140
|
tanya doctor # local environment check
|
|
131
141
|
```
|
|
132
142
|
|
|
143
|
+
## Slash commands
|
|
144
|
+
|
|
145
|
+
Interactive chat accepts built-in slash commands without sending them to the
|
|
146
|
+
model:
|
|
147
|
+
|
|
148
|
+
```text
|
|
149
|
+
/clear # reset only the active conversation history
|
|
150
|
+
/skills # list matched skill packs and token cost
|
|
151
|
+
/verify # print the deterministic verifier report for the cwd
|
|
152
|
+
/cost # show persisted token usage and estimated cost
|
|
153
|
+
/memory --limit 5 # list recent golden-task memory
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Project-local commands live in `.tania/commands/*.{js,ts,sh}` and appear in
|
|
157
|
+
`/help` with a `project:` prefix, for example `/project:say-hi`. Shell commands
|
|
158
|
+
run directly; JavaScript and TypeScript commands export a default
|
|
159
|
+
`CommandDefinition`.
|
|
160
|
+
|
|
161
|
+
Project-local commands are arbitrary code execution. TODO(M3): gate them
|
|
162
|
+
through the permission engine before treating them as safe extension points.
|
|
163
|
+
|
|
133
164
|
`--verify` adds required verification commands to the run context. Tanya must run and report each exact command before finishing the coding task.
|
|
134
165
|
|
|
135
166
|
`tanya benchmark run --all` currently exercises 26 executable low-to-medium regression fixtures: targeted edits, new files, dependency/lockfile updates, framework-style migrations, failing-test repair, frontend smoke checks, artifact/context reuse, streaming long-tool execution, run-history logging, dirty worktrees, report repair, and the CosmoHQ mobile/backend smoke profiles.
|