@textcortex/zenocode 0.1.13 → 0.1.15

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 CHANGED
@@ -4,12 +4,19 @@ Zenocode is the secure coding agent for TextCortex customers. It runs in your te
4
4
 
5
5
  Built for teams that need speed, control, and trust, Zenocode combines a terminal-native coding workflow with workspace routing and enterprise security from day one.
6
6
 
7
+ ## Requirements
8
+
9
+ Zenocode is available on the **pay-as-you-go (PAYG)** plan. Your TextCortex account — or the organization seat assigned to you — must be on PAYG. On any other plan (Free, subscription, Business, Unlimited), `zenocode login` and model discovery return **"Zenocode is only available on the pay-as-you-go plan."** Switch your account (or ask your workspace admin to assign you a PAYG seat) before installing.
10
+
11
+ If you already use pay-as-you-go and just ran out of wallet credits, top up under **Settings → Billing** (`/user/dashboard/settings/billing`). If you are not on pay-as-you-go yet, pick a plan on the **plan selection** page (`/billing/plans`). The in-app Zenocode dialog (sidebar → Zenocode) links you to the right one automatically based on your account.
12
+
7
13
  ## What This Package Does
8
14
 
9
15
  - Launches Zenocode from your terminal with the `zenocode` or `codecortex` command
10
16
  - Connects the runtime to your TextCortex account
11
17
  - Discovers the models available to your TextCortex workspace
12
18
  - Configures the underlying coding agent automatically so you can start coding instead of hand-wiring providers and credentials
19
+ - Runs a pinned, source-branded Zenocode runtime; it does not modify OpenCode binaries in npm or pnpm caches
13
20
 
14
21
  ## Install
15
22
 
@@ -31,13 +38,51 @@ The first `zenocode login` launches Zenocode automatically after browser authent
31
38
 
32
39
  If you already have an API key, you can also start Zenocode by setting `TEXTCORTEX_API_KEY` or `TEXTCORTEX_API_TOKEN`.
33
40
 
41
+ ## Update
42
+
43
+ Zenocode releases its launcher and managed runtime together. Update both with:
44
+
45
+ ```bash
46
+ npm install -g @textcortex/zenocode@latest
47
+ ```
48
+
49
+ The terminal runtime does not install upstream OpenCode updates. Running `zenocode upgrade` prints the managed update command above.
50
+
51
+ Runtime package versions include a Zenocode revision suffix (for example, `1.18.10-zenocode.1`). Increment that revision when the Zenocode source overlay changes without an upstream version bump, so an immutable npm runtime release can always be replaced deliberately.
52
+
53
+ ## Models
54
+
55
+ Zenocode uses **GPT-6 Luna** by default. You can switch to any other model available to your TextCortex workspace from the model picker inside the agent. Available models are discovered from the canonical backend catalog on every launch. A newly added model therefore appears as soon as the backend grants the account access; no Zenocode package release or separate model-list update is required. The default falls back to GPT-5.6 Luna, then the next best coding model (for example Kimi K3), when GPT-6 Luna is not available to you.
56
+
57
+ Alongside the Kimi, GLM, and MiniMax coding models, the catalog includes **Kimi K3**, **Claude Sonnet 5**, and **Claude Opus 5** when your workspace has access to them.
58
+
59
+ ### Thinking
60
+
61
+ Most models express thinking as a pair of catalog entries — pick `…-thinking` or `…-non-thinking` in the model picker.
62
+
63
+ Claude Sonnet 5 and Claude Opus 5 additionally support a **thinking level**. Inside the agent, press `ctrl+t` to cycle `low → medium → high → default`; the choice is remembered per model across sessions.
64
+
65
+ For non-interactive runs, pass the level explicitly:
66
+
67
+ ```bash
68
+ zenocode run --variant high "refactor the auth module"
69
+ ```
70
+
71
+ Models without selectable levels ignore the flag and run at their deployment default.
72
+
73
+ ## Usage Attribution
74
+
75
+ Zenocode generation is recorded in the existing `model_usage_events` metering pipeline with `source_type = 'direct_generation'` and `client_medium = 'zenocode'`. Super admins can filter or group the Model Cost Analytics view by **Client medium → zenocode**. The same dimension is available from the `/internal/v2/model-cost-analytics/query` backend endpoint.
76
+
77
+ Attribution starts when the backend change is deployed. Older direct-generation events did not carry a reliable Zenocode marker and are not backfilled.
78
+
34
79
  ## Built For Security And Compliance
35
80
 
36
- Zenocode is built for organizations that treat security, compliance, and data sovereignty as non-negotiable.
81
+ Zenocode is built for organizations that treat security, compliance, and data governance as non-negotiable.
37
82
 
38
- - Hosted in the European Union on GDPR-compliant infrastructure
83
+ - TextCortex-managed routing with workspace-aware model availability
39
84
  - SOC 2 and ISO 27001 certified
40
- - Built for European data sovereignty
85
+ - Model region metadata is surfaced for routing and governance decisions
41
86
  - Zero data training: your data is not used for model training or fine-tuning
42
87
  - Optional services or LLMs hosted outside the EU are covered by the EU-US Data Privacy Framework or GDPR Standard Contractual Clauses
43
88
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@textcortex/zenocode",
3
- "version": "0.1.13",
4
- "description": "Secure, EU-hosted coding agent for TextCortex customers that runs in your terminal, edits files, runs scripts, and more.",
3
+ "version": "0.1.15",
4
+ "description": "Secure, TextCortex-managed coding agent for customers that runs in your terminal, edits files, runs scripts, and more.",
5
5
  "keywords": [
6
6
  "ai",
7
7
  "agent",
@@ -11,12 +11,17 @@
11
11
  "developer-tools",
12
12
  "textcortex",
13
13
  "secure",
14
- "eu-hosted",
14
+ "enterprise",
15
15
  "gdpr"
16
16
  ],
17
17
  "private": false,
18
18
  "license": "UNLICENSED",
19
19
  "type": "module",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/textcortex/platform.git",
23
+ "directory": "apps/zenocode"
24
+ },
20
25
  "publishConfig": {
21
26
  "access": "public"
22
27
  },