@cumulus_cloud/tado 0.1.0 → 0.2.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @cumulus_cloud/tado
2
2
 
3
- Terminal launcher for Tado's agent work view.
3
+ CLI-first Tado runtime and Agent OS terminal UI.
4
4
 
5
5
  ```bash
6
6
  npx @cumulus_cloud/tado
@@ -9,9 +9,13 @@ npm install -g @cumulus_cloud/tado
9
9
  tado
10
10
  ```
11
11
 
12
- The command expects the Tado macOS app to already be running. If Tado is not
13
- running, the TUI shows a launch-Tado message instead of failing silently.
14
- `tado-tui` is kept as a compatibility alias for the same command.
12
+ Run `tado` to open the Agent OS TUI. It starts a profile-owned `tadod` runtime
13
+ daemon when needed, so the macOS desktop app does not need to be running.
14
+
15
+ `tadod` is also installed for explicit daemon control and diagnostics. Normal
16
+ users should start from `tado`; the helper commands (`tado-list`, `tado-read`,
17
+ `tado-send`, `tado-events`, `tado-deploy`, and the workflow aliases) route to
18
+ the active CLI runtime profile.
15
19
 
16
20
  ## Publishing
17
21
 
@@ -22,7 +26,7 @@ checked-in config file:
22
26
  cd npm/tado
23
27
  npm pack --dry-run
24
28
  tmp_config="$(mktemp)"
25
- printf '//registry.npmjs.org/:_authToken=${NPM_TOKEN}\n' > "$tmp_config"
29
+ printf '//registry.npmjs.org/:_authToken=%s\n' "$NPM_TOKEN" > "$tmp_config"
26
30
  NPM_CONFIG_USERCONFIG="$tmp_config" npm publish --access public
27
31
  rm -f "$tmp_config"
28
32
  ```
package/bin/tado.js CHANGED
@@ -24,14 +24,29 @@ if (!target) {
24
24
  fail(`unsupported macOS architecture: ${process.arch}`);
25
25
  }
26
26
 
27
- const override = process.env.TADO_TUI_BINARY;
28
- const binary = override || path.join(__dirname, "..", "prebuilt", target, "tado-tui");
27
+ const prebuiltDir = path.join(__dirname, "..", "prebuilt", target);
28
+ const override = process.env.TADO_BINARY;
29
+ const invoked = path.basename(process.argv[1] || "tado");
30
+ const requested = path.join(prebuiltDir, invoked);
31
+ const preferred = path.join(prebuiltDir, "tado");
32
+ let binary = override;
33
+
34
+ if (!binary) {
35
+ if (fs.existsSync(requested)) {
36
+ binary = requested;
37
+ } else if (invoked === "tado" && fs.existsSync(preferred)) {
38
+ binary = preferred;
39
+ } else {
40
+ binary = requested;
41
+ }
42
+ }
29
43
 
30
44
  if (!fs.existsSync(binary)) {
31
45
  fail(
32
- `missing prebuilt tado-tui for ${target}. ` +
33
- "Build it with `cargo build --release -p tado-cli --bin tado-tui` " +
34
- "and place the binary under npm/tado/prebuilt/<target>/tado-tui."
46
+ `missing prebuilt ${invoked} binary for ${target}. ` +
47
+ "Build it with `cargo build --release -p tado-runtime --bin tadod -p tado-cli --bin tado --bin tado-tui --bin tado-list --bin tado-read --bin tado-send --bin tado-events --bin tado-deploy --bin tado-bootstrap --bin tado-kanban --bin tado-eternal --bin tado-dispatch -p tado-mcp --bin tado-mcp` " +
48
+ "or the full release target documented in prebuilt/README.md, " +
49
+ "and place the binaries under npm/tado/prebuilt/<target>/."
35
50
  );
36
51
  }
37
52
 
package/package.json CHANGED
@@ -1,13 +1,23 @@
1
1
  {
2
2
  "name": "@cumulus_cloud/tado",
3
- "version": "0.1.0",
4
- "description": "Terminal entrypoint for the Tado macOS agent work view.",
3
+ "version": "0.2.1",
4
+ "description": "CLI-first Tado runtime and Agent OS terminal UI.",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "type": "commonjs",
8
8
  "bin": {
9
9
  "tado": "bin/tado.js",
10
- "tado-tui": "bin/tado.js"
10
+ "tadod": "bin/tado.js",
11
+ "tado-list": "bin/tado.js",
12
+ "tado-read": "bin/tado.js",
13
+ "tado-send": "bin/tado.js",
14
+ "tado-events": "bin/tado.js",
15
+ "tado-deploy": "bin/tado.js",
16
+ "tado-bootstrap": "bin/tado.js",
17
+ "tado-kanban": "bin/tado.js",
18
+ "tado-eternal": "bin/tado.js",
19
+ "tado-dispatch": "bin/tado.js",
20
+ "tado-mcp": "bin/tado.js"
11
21
  },
12
22
  "files": [
13
23
  "bin/",
@@ -1,6 +1,33 @@
1
- Prebuilt `tado-tui` binaries are copied here before packaging:
1
+ Prebuilt `tado` runtime binaries are copied here before packaging:
2
2
 
3
+ - `darwin-arm64/tado`
4
+ - `darwin-arm64/tadod`
3
5
  - `darwin-arm64/tado-tui`
6
+ - `darwin-arm64/tado-list`
7
+ - `darwin-arm64/tado-read`
8
+ - `darwin-arm64/tado-send`
9
+ - `darwin-arm64/tado-events`
10
+ - `darwin-arm64/tado-deploy`
11
+ - `darwin-arm64/tado-bootstrap`
12
+ - `darwin-arm64/tado-kanban`
13
+ - `darwin-arm64/tado-eternal`
14
+ - `darwin-arm64/tado-dispatch`
15
+ - `darwin-arm64/tado-mcp`
16
+ - `darwin-x64/tado`
17
+ - `darwin-x64/tadod`
4
18
  - `darwin-x64/tado-tui`
19
+ - `darwin-x64/tado-list`
20
+ - `darwin-x64/tado-read`
21
+ - `darwin-x64/tado-send`
22
+ - `darwin-x64/tado-events`
23
+ - `darwin-x64/tado-deploy`
24
+ - `darwin-x64/tado-bootstrap`
25
+ - `darwin-x64/tado-kanban`
26
+ - `darwin-x64/tado-eternal`
27
+ - `darwin-x64/tado-dispatch`
28
+ - `darwin-x64/tado-mcp`
5
29
 
6
- The npm wrapper refuses to run when the matching binary is absent.
30
+ The npm wrapper invokes the binary matching the installed command name. `tado`
31
+ is the public TUI entrypoint and launches the internal `tado-tui` prebuilt.
32
+ `tadod` is the public daemon entrypoint. Aliases fail loudly if their matching
33
+ prebuilt is missing.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file