@zergai/ztc 0.6.0-beta.1 → 0.7.0-beta.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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -78502,7 +78502,7 @@ var invokeSkillTool = makeInvokeSkillTool(resolveAmbientSkills);
78502
78502
  // src/zlm.ts
78503
78503
  var ZLM_EMBED_API_VERSION = "zerglang.ztc-embed/1";
78504
78504
  var ZLM_STDIO_PROTOCOL = "zerglang.ztc-host/1";
78505
- var ZLM_ZTC_VERSION = true ? "0.6.0-beta.1" : "development";
78505
+ var ZLM_ZTC_VERSION = true ? "0.7.0-beta.1" : "development";
78506
78506
  var ZLM_MAX_HOST_TOOLS = 64;
78507
78507
  var ZLM_MAX_SYSTEM_PROMPT_BYTES = 128 * 1024;
78508
78508
  var ZLM_HOST_APPROVAL_CAPABILITIES = Object.freeze([
@@ -91,7 +91,9 @@ async function install(root, metadata, info, npm, env) {
91
91
  if (!matches) {
92
92
  throw new Error('Not this global npm installation. Update using the package manager/prefix that installed this CLI.');
93
93
  }
94
- await npm(['install', '--global', '--prefix', prefix, `--registry=${registry}`, `--@zergai:registry=${registry}`, '--no-audit', '--no-fund', `${metadata.name}@${info.latest}`], { cwd: prefix, env });
94
+ // The version came straight from the registry; npm's cached package document
95
+ // may predate it for a few minutes after a publish, so revalidate.
96
+ await npm(['install', '--global', '--prefix', prefix, `--registry=${registry}`, `--@zergai:registry=${registry}`, '--no-audit', '--no-fund', '--prefer-online', `${metadata.name}@${info.latest}`], { cwd: prefix, env });
95
97
  const installed = JSON.parse(await readFile(join(root, 'package.json'), 'utf8'));
96
98
  if (installed.name !== metadata.name || installed.version !== info.latest) throw new Error('npm did not install the requested package version');
97
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zergai/ztc",
3
- "version": "0.6.0-beta.1",
3
+ "version": "0.7.0-beta.1",
4
4
  "description": "Zerg Terminal Client - CLI agent for continual AI systems",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://zergai.com/docs/ztc",
@@ -277,7 +277,7 @@
277
277
  "zergRelease": {
278
278
  "branch": "main",
279
279
  "channel": "next",
280
- "sourceCommit": "046be48936cf2e13d95021b490224d63a4795ef7",
280
+ "sourceCommit": "fbac9c4b9709a604200a4865467591b4d31dbcf3",
281
281
  "sourceVersion": "0.2.0-canary.2"
282
282
  },
283
283
  "publishConfig": {