@langgexyz/anycode 0.0.0-stage → 0.4.9

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/package.json CHANGED
@@ -1,6 +1,48 @@
1
1
  {
2
2
  "name": "@langgexyz/anycode",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.4.9",
4
+ "description": "AnyCode distribution bootstrap for the native runtime",
5
+ "type": "module",
6
+ "bin": {
7
+ "anycode": "npm/dist/cli.mjs"
8
+ },
9
+ "files": [
10
+ "npm/dist/cli.mjs",
11
+ "npm/README.md"
12
+ ],
13
+ "engines": {
14
+ "node": ">=20"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "devDependencies": {
20
+ "@types/bun": "1.4.0",
21
+ "@types/node": "26.6.1",
22
+ "jsonc-parser": "3.3.1",
23
+ "typescript": "7.0.2"
24
+ },
25
+ "scripts": {
26
+ "build": "bun scripts/generate-release-key.ts --check && bun scripts/provider-bundle.ts --bundle npm --outfile npm/dist/cli.mjs",
27
+ "build:binary": "bun scripts/build-binary.ts",
28
+ "build:binary-package": "bun scripts/build-binary-package.ts",
29
+ "build:git-gate": "bun build scripts/git-gate.ts --outfile scripts/git-gate.mjs --target node",
30
+ "check:provider-bundle": "bun scripts/check-provider-bundle.ts",
31
+ "catalog:generate": "bun scripts/generate-capability-catalog-doc.ts",
32
+ "catalog:check": "bun scripts/generate-capability-catalog-doc.ts --check",
33
+ "build:release": "bun scripts/build-release.ts",
34
+ "test": "bun scripts/run-bounded-test.ts npm/tests/*.test.ts",
35
+ "test:providers": "bun scripts/run-bounded-test.ts runtime/providers/tests/*.test.ts",
36
+ "test:opencode": "bun run --cwd runtime/opencode/v1 typecheck && bun run --cwd runtime/opencode/v1 test && bun run --cwd runtime/opencode/v2 typecheck && bun run --cwd runtime/opencode/v2 test",
37
+ "test:opencode:v1-loader": "bun scripts/run-opencode-v1-registration-e2e.ts",
38
+ "test:opencode:e2e": "bun scripts/run-opencode-v2-e2e.ts",
39
+ "architecture:doctor": "bun scripts/architecture-doctor.ts",
40
+ "typecheck": "bun scripts/typecheck-runtime.ts",
41
+ "prepublishOnly": "npm run typecheck && npm run build && npm test",
42
+ "test:runtime": "bun run --cwd runtime/opencode/common test",
43
+ "test:modules": "bun run --cwd runtime/model-policy test && bun run --cwd runtime/provider-routing test && bun scripts/run-bounded-test.ts runtime/core/tests/*.test.ts runtime/contracts/tests/*.test.ts runtime/archive/tests/*.test.ts runtime/behavior/tests/*.test.ts runtime/credentials/tests/*.test.ts runtime/evidence/tests/*.test.ts runtime/harness-context/tests/*.test.ts runtime/usage/tests/*.test.ts runtime/claude/tests/*.test.ts runtime/pi/tests/*.test.ts scripts/*.test.ts",
44
+ "verify:native-runtime": "bun scripts/verify-native-runtime.ts",
45
+ "test:native-runtime:e2e": "bun scripts/run-native-runtime-e2e.ts",
46
+ "ci:test": "bun run architecture:doctor && bun run typecheck && bun run test:opencode && bun run test:opencode:v1-loader && bun run test:runtime && bun run test:modules && bun run test && bun run test:providers && bun run check:provider-bundle && bun run catalog:check && bash scripts/test-release-workflow.sh && bash scripts/test-release-publish.sh && bash scripts/test-wait-for-ci.sh && bun run test:opencode:e2e && OPENCODE_BINARY=\"$PWD/.cache/opencode-cli/node_modules/.bin/opencode\" bun run test:native-runtime:e2e"
47
+ }
48
+ }