@devosurf/tesser 0.1.0-alpha.3 → 0.1.0-alpha.4
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 +15 -7
- package/dist/index.js +830 -220
- package/dist/index.js.map +4 -4
- package/package.json +3 -3
- package/src/commands/doctor.test.ts +39 -0
- package/src/commands/doctor.ts +117 -0
- package/src/commands/init.test.ts +14 -1
- package/src/commands/init.ts +10 -4
- package/src/commands/project-docs.ts +6 -2
- package/src/completion.test.ts +14 -0
- package/src/completion.ts +92 -0
- package/src/index.ts +220 -57
- package/src/inputs.test.ts +21 -0
- package/src/inputs.ts +64 -0
- package/src/login.test.ts +19 -1
- package/src/login.ts +92 -1
- package/src/output.ts +15 -3
- package/src/schema.test.ts +26 -0
- package/src/schema.ts +289 -0
package/README.md
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
# @devosurf/tesser (`tesser`)
|
|
2
2
|
|
|
3
3
|
The interface both your agent and you drive everything through. Machine-first (ADR-0007):
|
|
4
|
-
`--json` on every command (stdout = one JSON document, stderr = logs),
|
|
5
|
-
[exit-code taxonomy](../../docs/EXIT-CODES.md)
|
|
4
|
+
`--output json` / `--json` on every command (stdout = one JSON document, stderr = logs),
|
|
5
|
+
a deterministic [exit-code taxonomy](../../docs/EXIT-CODES.md), plus `tesser schema`
|
|
6
|
+
for machine-readable command discovery. CLI-first; MCP deferred.
|
|
6
7
|
|
|
7
8
|
> Status: **implemented.**
|
|
8
9
|
|
|
9
10
|
```
|
|
10
|
-
# auth & link (agent lane: set TESSER_TOKEN and
|
|
11
|
-
tesser login --url URL --token
|
|
12
|
-
tesser
|
|
11
|
+
# auth & link (agent lane: set TESSER_TOKEN or use --token-stdin; humans can run tesser login and be prompted)
|
|
12
|
+
printf '%s' "$TESSER_TOKEN" | tesser login --url URL --token-stdin # verify + store a profile
|
|
13
|
+
tesser schema # machine-readable CLI contract, no auth needed
|
|
14
|
+
tesser doctor # local/project/auth preflight for agents
|
|
15
|
+
tesser completion bash|zsh # shell completion script
|
|
16
|
+
tesser init <name> [--force] # scaffold a Project (one repo of automations)
|
|
13
17
|
tesser upgrade # pin Tesser packages to this CLI version + refresh .tesser/docs
|
|
14
18
|
tesser link [--repo URL] # register the Project on the instance
|
|
15
19
|
tesser status # instance health + deploy state
|
|
@@ -29,11 +33,15 @@ tesser rollback <automation> --to <version> # instant alias re-point, no r
|
|
|
29
33
|
# secrets & runs (the agent never sees values)
|
|
30
34
|
tesser secrets list | rm <name>
|
|
31
35
|
printenv MY_SECRET | tesser secrets set <name> --value-stdin # human/CI lane; never argv
|
|
32
|
-
tesser runs list
|
|
33
|
-
tesser
|
|
36
|
+
tesser runs list [--limit N] [--offset N] [--fields id,status]
|
|
37
|
+
tesser runs trigger <automation> --input-file -
|
|
38
|
+
tesser runs signal <runId> <name> --payload-file -
|
|
39
|
+
tesser logs <runId> [--follow] [--limit N] [--offset N] [-o ndjson]
|
|
40
|
+
tesser harness connect claude-code --connect CONNECT_URL # preferred Harness auth namespace
|
|
34
41
|
```
|
|
35
42
|
|
|
36
43
|
Auth resolution: `--token` > `TESSER_TOKEN` > profile (`~/.config/tesser/config.json`).
|
|
44
|
+
For `tesser login`, prefer `--token-stdin`; `--token` remains for compatibility but can leak via argv.
|
|
37
45
|
Instance resolution: `--url` > `tesser.json` > `TESSER_URL` > profile > `http://localhost:8377`.
|
|
38
46
|
|
|
39
47
|
`init` pins all Tesser packages to the CLI's exact version and writes committed agent reference docs under `.tesser/docs/` plus a user-editable `AGENTS.md`. During alpha/beta, upgrade with the target CLI version so package pins and docs move together: `npx @devosurf/tesser@<version> upgrade`.
|