Specs drive a scripted tmeet through each auth status text, a sign-in with trusted and untrusted links, cancellation, and sign-out, and check the cache link and the one-entry skill. The Web E2E runs a stand-in tmeet through a failed and a successful sign-in and a confirmed sign-out; it needs the scaffold to resolve every selected bundle's dependencies, as the other CLI app plugins' do. The tencent-meeting-skills snapshot pins the skill catalog and a tmeet call on the private PATH.
The bundle inserts the tencent-meeting Host row and the ui-tencent-meeting page row; all three packages are optional in the product package policy. The Host row pins @tencentcloud/tmeet 1.0.18, whose bin is a Node launcher over executables named per platform, and links this platform's executable as tmeet in a DSH cache directory on the private Shell PATH; binDir replaces the link. Repository installs deny the package's install script, which runs tmeet auth logout. One tencent-meeting skill indexes the guide and tells the agent to use the plugin's tmeet, skip the guide's installation check and agent_init.py, and send sign-in to the plugin page. The tencentMeeting Remote checks the account by reading the plain-text auth status, signs in through the browser authorization page and confirms that the server accepts the sign-in, and signs out. The page shows the sign-in steps, the signed-in user, and a sign-out confirmation. Three jscpd:ignore blocks cover the imports, Remote methods, and page actions that the CLI app plugins share by design.
WeCom and Tencent Meeting index guides that their vendors publish only in
their GitHub repositories. Instead of carrying a copy, a plugin pins one
directory of the repository by commit, total size, and a digest of the kept
files, and registerUpstreamSkills downloads the commit archive when the plugin
loads, verifies it, publishes it in the DSH cache, and lists the plugin's entry
skill with the published directory as its base directory.
The handle reports installed, downloading, or failed, notifies listeners, and
retries without waiting, so a plugin's account check never waits for GitHub.
Each archive source has skillsTimeoutMs; skillsDir points at prepared files
for tests and offline installations. scripts/upstream-skills-digest.ts prints
the pin for a commit.
CLI app plugins now give the model each CLI's absolute path in required
runtime context instead of putting the CLI on a private Shell PATH.
- registerCliPathContext registers the path at the new PLUGIN_CLIS
context order without interpolation. With `scripts`, it also tells
the model to prefix only the commands that run the skill's scripts
with PATH="<dir>:$PATH"; with `ready`, it contributes nothing until
the CLI is installed.
- CliCommandExecutor takes the absolute `executable`, verifies it
through the subprocess runtime, and spawns it without preparing an
environment, so the kit no longer depends on shell-env.
- An Agent Note records the decision and the rejected private PATH,
paths in skill text, shared registry, and Host check.
A descendant that inherits the CLI's stdout or stderr keeps the pipes
open after the CLI exits. The executor waited for both pipes to end, so
such a command hung until its deadline and reported a timeout, or hung
indefinitely, even through cancellation and disposal, when the
descendant had left the managed process range. A reader failure, such as
an `onLine` throw, left the other reader running, so `onLine` could be
called after `run` rejected.
The executor now waits for the exit and reads the pipes for at most 2
seconds after the subprocess runtime reports it, keeping the output read
before the cut. On every path it terminates the command and stops both
readers before it settles, so every `onLine` call precedes the result.
* fix(forge): make reference and worktree tests portable
* test(worktree): cover error and text cancellation reasons
* test(forge): brace void arrow bodies in the reference lookup spec
* test(ci): expect the joined version script path in the pre-merge check
---------
Co-authored-by: imccyu <[email protected]>
The scan now reads exactly the manifests the release tooling rewrites, names
every directory and file it cannot read, and refuses an empty corpus; the
command takes the root it checks so the exit code is tested, and the workflow
reports a crashed check as a warning in report mode.
Each step is a spawn whose stdio reaches the job log, the first failure stops
the list, and the script decides from CHECK_MODE whether to annotate as an
error or a warning, so the workflow only calls it.
The missing-script branch now fails in block mode instead of passing, the shell
block parses, the version walk refuses a directory it cannot read or one that
holds no manifest, the install is watched before anything else can throw, and a
spec runs `bash -n` over every Policy shell block.
`Policy / Pre-Merge Check` now runs `scripts/pre-merge-check.ts` under plain
Node and knows nothing else about the merged tree. That script installs the
dependencies, checks that every released manifest carries the root version
while the install runs, and builds the Host and Client contracts, reporting
which step failed.