open-tag 0.1.0 → 0.1.2

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
@@ -10,6 +10,29 @@ binary and `~/.opentag`; preview builds use the separate `open-tag-staging` pack
10
10
  Login installs and starts the daemon service by default. Use `--no-start` for credential-only login. The public daemon
11
11
  commands are `install`, `start`, `stop`, `restart`, `status`, and `uninstall`; v0.1 does not provide a Windows service.
12
12
 
13
+ ## Persistent runtime credentials
14
+
15
+ Put daemon-only runtime environment values in `<OPENTAG_HOME>/config/daemon.env` (production default:
16
+ `~/.opentag/config/daemon.env`). Keep the Home and config directories private and the file mode at `0600`.
17
+ The daemon loads this file at startup; non-empty values already supplied by its supervisor take precedence.
18
+ Restart the daemon after changing the file, once its current work can safely stop. Never share credential values.
19
+ For unattended Claude subscription access, use the token created by `claude setup-token` as
20
+ `CLAUDE_CODE_OAUTH_TOKEN`, rather than copying a short-lived access token from native login storage.
21
+
22
+ Service installation and upgrade refresh preserve existing custom environment values in launchd plists and
23
+ environment directives in the systemd unit. Installation and refresh enforce mode `0600` even when the definition content is unchanged, because it may contain secrets. OpenTag still regenerates its executable and managed `PATH`,
24
+ `OPENTAG_HOME`, and `OPENTAG_SERVICE_MODE`. On Linux, the service entrypoint sets these three values after systemd
25
+ applies environment files and removals, so custom directives cannot change the daemon's Home or service mode.
26
+ Systemd drop-ins are separate files and remain untouched.
27
+ An unsupported or ambiguous launchd environment is rejected before any definition is overwritten. Only supported UTF-8 XML environments are preserved; binary plists and other encodings must be converted first or use `config/daemon.env`.
28
+
29
+ Claude readiness always consults the CLI's authentication status using the same setting sources as execution.
30
+ Explicit credentials targeting the default Anthropic endpoint are additionally checked with one bounded, read-only
31
+ Models API request per readiness check. Equivalent official URLs (including the default port and host case) receive the same check. When both `ANTHROPIC_AUTH_TOKEN` and `ANTHROPIC_API_KEY` are set, the check sends both authentication headers. A rejected credential requires sign-in or replacement; connectivity, permission, rate-limit,
32
+ and service failures remain retryable unavailability. This check makes no model generation request and does not
33
+ prove access to a particular model or available quota. Native login storage, custom gateways, Bedrock, Vertex,
34
+ and Foundry remain under the Claude CLI's credential handling; OpenTag does not read or renew their tokens.
35
+
13
36
  ## Targeted Computer preparation
14
37
 
15
38
  `opentag connect <code>` (also `opentag computer connect <code>`) binds the Computer named by the one-time setup flow.
@@ -359,6 +359,35 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
359
359
 
360
360
  ---
361
361
 
362
+ ## fflate@0.8.3
363
+
364
+ Source: https://github.com/101arrowz/fflate
365
+ License: MIT
366
+
367
+ MIT License
368
+
369
+ Copyright (c) 2026 Arjun Barrett
370
+
371
+ Permission is hereby granted, free of charge, to any person obtaining a copy
372
+ of this software and associated documentation files (the "Software"), to deal
373
+ in the Software without restriction, including without limitation the rights
374
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
375
+ copies of the Software, and to permit persons to whom the Software is
376
+ furnished to do so, subject to the following conditions:
377
+
378
+ The above copyright notice and this permission notice shall be included in all
379
+ copies or substantial portions of the Software.
380
+
381
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
382
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
383
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
384
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
385
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
386
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
387
+ SOFTWARE.
388
+
389
+ ---
390
+
362
391
  ## tar-stream@3.2.0
363
392
 
364
393
  Source: https://github.com/mafintosh/tar-stream
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { B as presentCommand, F as CommandError, H as configureClientLoggerForService, I as EXIT_CODES, L as commandExitCode, U as resolveOpenTagHome, V as toCommandError, W as resolveOpenTagHomeLayout, a as installCliProcessErrorReporting, j as CommanderError, k as resolveChannelEnvironment, o as reportCommandFailure, s as resolveCommandPath, t as createProgram, z as observeCommandFailures } from "../program-CXagchrn.mjs";
2
+ import { B as presentCommand, F as CommandError, H as configureClientLoggerForService, I as EXIT_CODES, L as commandExitCode, U as resolveOpenTagHome, V as toCommandError, W as resolveOpenTagHomeLayout, a as installCliProcessErrorReporting, j as CommanderError, k as resolveChannelEnvironment, o as reportCommandFailure, s as resolveCommandPath, t as createProgram, z as observeCommandFailures } from "../program-BpXcUOCH.mjs";
3
3
  //#region src/cli/run.ts
4
4
  /**
5
5
  * The CLI entry point's whole behaviour, so it can run under test with a real program.