@iniesta8888/agent-live 0.3.0 → 0.3.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.
@@ -1,6 +1,6 @@
1
1
  # Release verification
2
2
 
3
- The current development target is 0.3.0, not a published release. Keep CHANGELOG marked Unreleased until the release is actually cut.
3
+ The current release target is 0.3.1. Keep package versions, the Codex manifest, generated distributions, CHANGELOG and the Git tag aligned.
4
4
 
5
5
  Run npm run check:ci for deterministic contract, types, builds and package validation. Run npm run test:integration:codex separately on a machine with a configured Codex CLI; it creates an ephemeral test thread and the session test sends one small model request, so it is intentionally not a public-PR CI requirement. Failures must be recorded, not treated as an automatic pass.
6
6
 
package/docs/TECHNICAL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Agent Live 技术文档
2
2
 
3
- > 版本 0.3.0(开发中)· 最后校准 2026-09-13 · Node 22+
3
+ > 版本 0.3.1 · 最后校准 2026-09-14 · Node 22+
4
4
 
5
5
  > 本文主要记录最初的 Pi / Local Runtime / Browser 实现细节。跨宿主职责与最新公共合同以 [ARCHITECTURE.md](ARCHITECTURE.md)、[ADAPTER-SDK.md](ADAPTER-SDK.md) 和各宿主 Adapter 设计为准。
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iniesta8888/agent-live",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "Give coding agents a live pixel office",
6
6
  "keywords": ["coding-agent", "agent-adapter", "codex-plugin", "pi-extension", "agent-visualization", "pixel-office"],
@@ -15,7 +15,7 @@ await mkdir(path.join(root, "src"));
15
15
  await mkdir(path.join(root, "test"));
16
16
  const className = id.replace(/(^|-)([a-z])/g, (_match, _dash, letter) => letter.toUpperCase());
17
17
  const files = {
18
- "package.json": JSON.stringify({ name: `agent-live-adapter-${id}`, version: "0.1.0", private: true, type: "module", scripts: { test: "node --test" }, dependencies: { "@iniesta8888/agent-live": "^0.3.0" } }, null, 2) + "\n",
18
+ "package.json": JSON.stringify({ name: `agent-live-adapter-${id}`, version: "0.1.0", private: true, type: "module", scripts: { test: "node --test" }, dependencies: { "@iniesta8888/agent-live": "^0.3.1" } }, null, 2) + "\n",
19
19
  "src/index.ts": `import { defineAdapter, type OfficeDelta } from "@iniesta8888/agent-live";\n\nexport interface ${className}Host {\n\tsubscribe(listener: (event: unknown) => void): () => void;\n}\n\nfunction mapHostEvent(_event: unknown): OfficeDelta | undefined {\n\t// TODO: implement only mappings supported by official host evidence.\n\treturn undefined;\n}\n\nexport default defineAdapter<${className}Host>({\n\tid: "${id}",\n\tname: ${JSON.stringify(name)},\n\tconnect({ host, office }) {\n\t\treturn host.subscribe((event) => {\n\t\t\tconst mapped = mapHostEvent(event);\n\t\t\tif (mapped) office.publish(mapped);\n\t\t});\n\t},\n});\n`,
20
20
  "test/adapter.test.ts": `import test from "node:test";\nimport assert from "node:assert/strict";\nimport adapter from "../src/index.ts";\n\ntest("adapter identity", () => {\n\tassert.equal(adapter.id, "${id}");\n});\n`,
21
21
  "HOST-CAPABILITIES.md": `# ${name} capabilities\n\nTODO: Record official sources, versions, supported and unsupported capabilities before implementation.\n`,